Matlab

Moderators: None (Apply to moderate this forum)
Number of threads: 1494
Number of posts: 2174

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Matlab GUI help Posted by jhpark6 on 22 Mar 2010 at 3:34 PM
Hello,

I'm new to Matlab GUI and I have a question about loading data onto my figure files. I have attached an example program to illustrate what I am trying to achieve.

Ultimately, what I want to be able to do is to save data from a GUI onto a .mat file and have the GUI display the saved data whenever I open it again.

In the example program, I want to run Example_GUI_Part_1 and select a button from the button group and enter some text where it says 'Enter text:'. Whatever I enter will be saved to 'sampledata.mat'. Then when I press 'Next', Example_GUI_Part_1 will close and Example_GUI_Part_2 will open. When I press 'Back' on Example_GUI_Part_2, Example_GUI_Part_1 will open again. However, it will display the default values for the button selection and text. What can I do so the figure files display what is saved on 'sampledata.mat'?
Attachment: Example.zip (8931 Bytes | downloaded 69 times)



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.