フィルターのクリア

Share variables between apps

3 ビュー (過去 30 日間)
Rafael Félix Soriano
Rafael Félix Soriano 2018 年 11 月 25 日
コメント済み: Image Analyst 2018 年 11 月 25 日
Hi, I am trying to create a programme using app designer that consists of multiple windows where the user enter different variables that a final window would then use. I need a way to share all those variables introduced with the final window, or a way to store them so that they can be later used by the final window. I´ve read and tried the method explained here https://es.mathworks.com/help/matlab/creating_guis/share-data-across-callbacks-in-app-designer.html#busp3ol-13 , but either I am using it wrong, or it is not what I need.
  2 件のコメント
Stephen23
Stephen23 2018 年 11 月 25 日
"but either I am using it wrong, or it is not what I need."
It is possible that you are using it incorrectly, but without your code, we have no idea what tried.
Rafael Félix Soriano
Rafael Félix Soriano 2018 年 11 月 25 日
I do not have a code, as I tried that method in an example and did not save it. All I need to know is the best way to do what I need. Thanks

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

回答 (1 件)

Image Analyst
Image Analyst 2018 年 11 月 25 日
Try this link: FAQ
  3 件のコメント
Stephen23
Stephen23 2018 年 11 月 25 日
編集済み: Stephen23 2018 年 11 月 25 日
@Image Analyst: Although it covers GUIDE extensively, the wiki appears not to have been updated to include best practice for the App Designer. Surely there must be better methods than assignin and evalin.
Image Analyst
Image Analyst 2018 年 11 月 25 日
I never use those two functions. If I ever need to do that, which is rare, then I just write the stuff out to a .mat file. Transferring variables with a .mat file is easy, and fast if you're using solid state drives.
Unfortunately since most of my apps are based on existing apps that I copy and modify, I don't have any App Designer experience yet. But feel free to modify the FAQ if you know how to for App Designer. It is a wiki after all.

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

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by