saveで任意のディレクトリに保存するにはどうすればいいですか?
125 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
NO MIYA
am 1 Jul. 2021
Kommentiert: NO MIYA
am 12 Jul. 2021
filename = 'test.mat';
save(filename);
これでワークスペースを現在開いているフォルダにtest.matとして保存することができますが、別のフォルダに保存するとしたらどうすればいいですか?
よろしくお願いいたします。
0 Kommentare
Akzeptierte Antwort
Hernia Baby
am 1 Jul. 2021
Bearbeitet: Hernia Baby
am 1 Jul. 2021
3 Kommentare
Hernia Baby
am 4 Jul. 2021
@NO MIYA さん
uisaveもシンプルでいいですね!
自分の場合は先にカレントディレクトリを決めて、import~exportまでするので今回の形にしてます。
このやり方は繰り返し出力させるときに便利ですので、ご参考に。
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!