saveで任意のディレクトリに保存するにはどうすればいいですか?
65 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
filename = 'test.mat';
save(filename);
これでワークスペースを現在開いているフォルダにtest.matとして保存することができますが、別のフォルダに保存するとしたらどうすればいいですか?
よろしくお願いいたします。
0 Commenti
Risposta accettata
Hernia Baby
il 1 Lug 2021
Modificato: Hernia Baby
il 1 Lug 2021
3 Commenti
Hernia Baby
il 4 Lug 2021
@NO MIYA さん
uisaveもシンプルでいいですね!
自分の場合は先にカレントディレクトリを決めて、import~exportまでするので今回の形にしてます。
このやり方は繰り返し出力させるときに便利ですので、ご参考に。
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!