saveで任意のディレクトリに保存するにはどうすればいいですか?
69 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
filename = 'test.mat';
save(filename);
これでワークスペースを現在開いているフォルダにtest.matとして保存することができますが、別のフォルダに保存するとしたらどうすればいいですか?
よろしくお願いいたします。
0 commentaires
Réponse acceptée
Hernia Baby
le 1 Juil 2021
Modifié(e) : Hernia Baby
le 1 Juil 2021
3 commentaires
Hernia Baby
le 4 Juil 2021
@NO MIYA さん
uisaveもシンプルでいいですね!
自分の場合は先にカレントディレクトリを決めて、import~exportまでするので今回の形にしてます。
このやり方は繰り返し出力させるときに便利ですので、ご参考に。
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur ファイルの操作 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!