Public Functions/Properties in App Designer

64 ビュー (過去 30 日間)
Ahmet Sahin
Ahmet Sahin 2019 年 10 月 15 日
コメント済み: Ahmet Sahin 2019 年 11 月 6 日
Hello,
I have a really common question because I'm relativly new to programming in MATLAB.
In the App Designer you can choose between Public and Private Functions and Properties. The description of the App Designer says that Public Functions and Properties can be shared between apps.
I have two questions about that:
First of all, how can I access theese Functions and Properties from outside the app?
And is it possible to access these Functions and Properties from a Simulink Function Block while the App is running?
Thank You in advance!

採用された回答

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2019 年 11 月 6 日
You can refer to a similar question on how to access data of one app from another app in the following link
You can pass the “app” handle to any function and access its properties. Referring to the following links might be helpful to you
Hope this helps!
  1 件のコメント
Ahmet Sahin
Ahmet Sahin 2019 年 11 月 6 日
Hello,
I already found a workaround for my problem but this one is much more elegant.
Thank you very much this helps me alot!

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

その他の回答 (0 件)

カテゴリ

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