how to write a series of out put by a loop in matlab as CSV files with different names....

2 visualizaciones (últimos 30 días)
I have some output by Z=zeros(N,M,x1*x2) here N=8,M=8,x1=4,x2=4
when i output Z it gives the output as Z(:,:,1), Z(:,:,2), Z(:,:,3), Z(:,:,4). ....Z(:,:,16) etc.
I want to save these outputs in seperate 16 csv files named as Z1,Z2,Z3,Z4....Z16 etc.
When I use the code as follows it creates a csv file including all the 16 output in a single sheet.
csvwrite('path\Z.csv',Z)
Thanks for the help in advance

Respuestas (0)

Categorías

Más información sobre Data Import and Export en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by