how to save file in specific path?

5 ビュー (過去 30 日間)
Somnath Kale
Somnath Kale 2020 年 12 月 4 日
回答済み: Anmol Dhiman 2020 年 12 月 7 日
I wanted to save my alredy genrated text file in folder
file name is "data201203.txt"
"C:\Users\IISER BPR\Documents\MATLAB\Instrument program"
what is the best simplest and suitable command?
Or eles suggest me how to use uiputfile function.(please write small code)
  2 件のコメント
Ive J
Ive J 2020 年 12 月 4 日
doc movefile
movefile('data201203.txt', 'C:\Users\IISER BPR\Documents\MATLAB\Instrument program')
Somnath Kale
Somnath Kale 2020 年 12 月 4 日
@Ive Ive
Thanks for your reply!! still little issue
Error using movefile
Cannot copy or move a file or directory onto itself.
showing this error but fele kept at proper place

サインインしてコメントする。

採用された回答

Anmol Dhiman
Anmol Dhiman 2020 年 12 月 7 日
Hi Somnath,
Refer to movefile to move a file from one location to another.
Regards,
Anmol Dhiman

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDialog Boxes についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by