problem with saving data as .mat file
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi !
i have an output of a for loop. i want to save this output as .mat file.
how could i do this ?
I tried with save and fprintf but no results...
thank you for help
0 Commenti
Risposta accettata
Walter Roberson
il 7 Dic 2012
for K = 1 : 20
filename = sprintf('File_%03d.mat', K);
save(filename, 'K');
end
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Workspace Variables and MAT Files in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!