Saving txt file in GUI
이전 댓글 표시
Could you please help me.
I created the push button in GUI application with which I wanted to save current data vector or matrix (let's say X) as a text file.
I would like to open dialog box, be able to create file (or update existing), add name of the file and save it as txt.
Is it possible?
I tried with uiputfile, but it cannot create new file.
Thanks in advance!
답변 (1개)
Ameer Hamza
2020년 9월 29일
0 개 추천
Yes, the documentation also states that, it returns the name of the file, but does not create it. You need to create the file yourself. Checked the demo app attached to this answer.
카테고리
도움말 센터 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!