How to store column data output from matlab to excel sheet (in the same sheet and different columns)?

1 次查看(过去 30 天)
Hi i am doing a simulation which runs for 100 iterations. In each iteration, the simulation outputs a single column vector data (say 1000x1 vector). My requirement is to store the output in the columns of single excel sheet sequentially i.e. A1:A1000,B1:B1000 and so on...can anyone suggest how to achieve this?

回答(1 个)

Gabriel Delcros
Gabriel Delcros 2017-2-22
You will have to use the function xlswrite. Your response should be there :
https://de.mathworks.com/help/matlab/ref/xlswrite.html
Have a nice day ;)

Community Treasure Hunt

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

Start Hunting!

Translated by