how to save file in specific path?

4 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Dialog Boxes 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by