Why does my uint8 data written to a serial port appear as signed data in my record file while using MATLAB 7.0 (R14)?

1 view (last 30 days)
While writing uint8 data to my serial port in MATLAB 7.0 (R14), the data in my record file has been written as SIGNED int8 data.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
We have verified that there is a bug in MATLAB 7.0 (R14) in the way that MATLAB serial port objects handle writing uint8 data to record files.
The data is actually being written correctly to the serial port. Only the record file is being written incorrectly.

More Answers (0)

Categories

Find more on Data Import and Export in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!