GUI with memory - UIREMEMBER & UIRESTORE

バージョン 1.0.0.0 (11.2 KB) 作成者: Lior Cohen
Like many apps, now Matlab GUI can easily "remember" its last state, using these functions.
ダウンロード: 1.6K
更新 2009/7/8

ライセンスの表示

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.

引用

Lior Cohen (2024). GUI with memory - UIREMEMBER & UIRESTORE (https://www.mathworks.com/matlabcentral/fileexchange/24669-gui-with-memory-uiremember-uirestore), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2008b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0