How to use data from base workspace in app designer application

98 ビュー (過去 30 日間)
Daan Decleer
Daan Decleer 2017 年 5 月 1 日
コメント済み: Mark Sahlin 2022 年 4 月 18 日
Hello
In my app designer program I have several Numeric Edit Fields, I would like to set them to the already declared variables before in the base workspace when my application opens.
Is there a way I can load the existing Variable and put them in the already existing EditField?
Thanks already, I look out to your answers.

採用された回答

xi
xi 2017 年 5 月 1 日
initialize your EditFields using evalin(), such as: app.EditField1.Value=evalin('base','myvar1'); app.EditField2.Value=evalin('base','myvar2'); ...
  8 件のコメント
Mark Sahlin
Mark Sahlin 2022 年 4 月 18 日
using app designer it would not allow me access to edit in code view
Mark Sahlin
Mark Sahlin 2022 年 4 月 18 日
the Code View for the initial EditField does not allow me to add a line to change the value via an evalin.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSoftware Development Tools についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by