Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

updating xlswrite column for each iterartion

4 views (last 30 days)
Zarish Anwar
Zarish Anwar on 29 Nov 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
I'm trying to save .mat file data in xlswrite file. My first column have been updated. Now for second .mat file data should be in 2nd column of xls file. Below is my code
fid = fopen(fullfile(rt_data_dir, subname, [fname, '.mat']));
values = fread(fid);
xlswrite('FileName1.xlsx', values);
fclose(fid);

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!