Loading and Saving Variables GUI

4 ビュー (過去 30 日間)
MZ123
MZ123 2019 年 9 月 11 日
コメント済み: Rik 2019 年 9 月 12 日
Hello,
I'd like to build a GUI in which some .mat files are loaded at the opening of the GUI, then some operations are performed by the user, and finally some variables are saved again as .mat files ( an updated version of the previous loaded) ready for a new run of the GUI.
I'm reading too much documentation on GUIDE, AppDesigner or programmaticaly through code and I'm very confused. I don't understand which way is the best to follow and how to set the correct strategy. Now I think I'm mixing too things, adding global variables and so on.
Since the GUI will be used by other people than me, I would like to understand how to manage the command load and save variables and which GUI environment is better to use.
Thank you for your help.
  3 件のコメント
Stephen23
Stephen23 2019 年 9 月 12 日
I agree with Rik: it really is much easier to write your own GUI: you get more control over functionality, more flexibility (e.g. nested functions to pass data between callbacks), and more compact code. Also:
  • Always obtain and refer to explicit handles for all graphics objects. Do not assume that gca, gcf, etc. will refer to the objects you need.
Rik
Rik 2019 年 9 月 12 日
@Stephen, good point. I'll add it to my autohotkey file.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by