GUI with memory - UIREMEMBER & UIRESTORE
by Lior Cohen
08 Jul 2009
Like many apps, now Matlab GUI can easily "remember" its last state, using these functions.
|
Watch this File
|
| File Information |
| Description |
Many apps "remember" their last state. The following functions make this functionality very easy for Matlab GUIs.
UIREMEMBER basically remembers (saves) the object state.
UIRESTORE basically restores the object last saved state.
The simplest way to do it is, for each "need to be remembered" object :
1. Put UIREMEMBER in the object DeleteFcn or Callback .
2. Put UIRESTORE in the object CreateFcn.
Attached is a demo that do it (just run demo.m).
The functions have more advanced usage by options such, which properties to remember / restore and name/location of the save file.
Please use HELP for the full functionality. |
| MATLAB release |
MATLAB 7.7 (R2008b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com