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!

Antworten (1)

Ameer Hamza
Ameer Hamza am 29 Sep. 2020

0 Stimmen

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.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 29 Sep. 2020

Beantwortet:

am 29 Sep. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by