how to save file in specific path?

4 visualizzazioni (ultimi 30 giorni)
Somnath Kale
Somnath Kale il 4 Dic 2020
Risposto: Anmol Dhiman il 7 Dic 2020
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 Commenti
Ive J
Ive J il 4 Dic 2020
doc movefile
movefile('data201203.txt', 'C:\Users\IISER BPR\Documents\MATLAB\Instrument program')
Somnath Kale
Somnath Kale il 4 Dic 2020
@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

Accedi per commentare.

Risposta accettata

Anmol Dhiman
Anmol Dhiman il 7 Dic 2020
Hi Somnath,
Refer to movefile to move a file from one location to another.
Regards,
Anmol Dhiman

Più risposte (0)

Categorie

Scopri di più su Dialog Boxes in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by