This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28335: How can I make a text file or CSV file?

Part Number: TMS320F28335

Tool/software: Code Composer Studio

Hi. I am using TMS320F28335 and CCS v8.1.0.

I receive IMU sensor data by RS232.

I need to plot the data in MATLAB.

I want to write the IMU sensor data on .txt file.

So I made a simple code as below.

FILE* stream;

stream = fopen("data1.txt", "w");

fclose(stream);

But there is no txt file.

Excuse my poor English.