problem with saving data as .mat file
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Walter Roberson
2012 年 12 月 7 日
for K = 1 : 20
filename = sprintf('File_%03d.mat', K);
save(filename, 'K');
end
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!