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

doc movefile
movefile('data201203.txt', 'C:\Users\IISER BPR\Documents\MATLAB\Instrument program')
@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일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

질문:

2020년 12월 4일

답변:

2020년 12월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by