saveで任意のディレクトリに保存するにはどうすればいいですか?
131 views (last 30 days)
Show older comments
filename = 'test.mat';
save(filename);
これでワークスペースを現在開いているフォルダにtest.matとして保存することができますが、別のフォルダに保存するとしたらどうすればいいですか?
よろしくお願いいたします。
0 Comments
Accepted Answer
Hernia Baby
on 1 Jul 2021
Edited: Hernia Baby
on 1 Jul 2021
3 Comments
Hernia Baby
on 4 Jul 2021
@NO MIYA さん
uisaveもシンプルでいいですね!
自分の場合は先にカレントディレクトリを決めて、import~exportまでするので今回の形にしてます。
このやり方は繰り返し出力させるときに便利ですので、ご参考に。
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!