Hello! I created a GUI with Matlab, that gives me two numbers as output. These two numbers are visualized into two 'Edit text' commands. Now, what I need to do is to save this two numbers in a .txt file, by using a 'Push button' command. Let's suppose that the tags associated to the 'Edit text' commands (where the two numbers are visualized) are num1 and num2, while the tag associated to the 'Push button' command is save . What I want to do when pressing the Push button save is: (1) choose the folder where to save the two numbers; (2) save the two numbers as a unique .txt file containing the two numbers (e.g. numbers_file.txt or number_file.dat). How can I translate this into a matlab code (i.e. the callback function of the push button save ?). Thank you
MATLAB: Help with GUI – Push button
filefolderguiguidematlab guipush buttonsavetext file
Related Question
- To create a text file and to save it to a specific user defined folder
- Guide: How to save popup menu value in a text file
- Help with GUI callback – existence condition
- Save output for specific folder
- Save value from Edit Text box from GUI in a text file and on start load value
- Saving file with file name from user
Best Answer