Home > other >  Consult? How to use MATLAB to deal with binary number in the CSV file
Consult? How to use MATLAB to deal with binary number in the CSV file

Time:09-26

Made a vivado project recently, need to use the debug some data processing in the process of debugging, now use
TCL command: write_hw_ila_data - csv_file wave [current_hw_ila_data] to save data to a CSV file,
Next to the data processing, and then use CSVREAD after reading data, cannot correctly handle data

The debug data collected by a long is 25 bit, use the following function for processing error when
> data=https://bbs.csdn.net/topics/csvread (' wave. CSV, 1, 16 2048 25 [1]).
> B=num2str (data);
> C=bin2dec (b);

And read b alone when the data is not displayed in a binary data
Pray god give advice or comments?


  • Related