Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

save GUI

Status
Not open for further replies.

ati hsn

Mechanical
May 6, 2023
5
0
0
IR
Hi all
I made a gui window for calculating some parameters. When I run the gui program, I insert the inputs in editable boxes and push the "Calculate Outputs" button, then The answer is displayed in the embedded boxes. My Problem is that when I close this gui window and open (run) it in the next time, the inputs reset and return to default values. Is there any way to keep (save) the input numbers in the another file for call them the next time ?
Similar to command: File-Open

Thanks
 
Replies continue below

Recommended for you

I haven't messed around with MATLAB GUIs in a decade, but any reason you can't make 2 buttons for writing and reading a results file? Each could just use one of the built in functions for reading and writing a csv file (or whatever other format tickles your fancy).
 
Status
Not open for further replies.
Back
Top