Is it possible to make functions with outputs in App designer?

8 ビュー (過去 30 日間)
Michael Svejcar
Michael Svejcar 2020 年 3 月 7 日
回答済み: Sahithi Kanumarlapudi 2020 年 3 月 19 日
I would like to make functions that have input parameters as well as output parameters. Is it also possible in App designer? There is no example for this particular problem in documentation, and when I tried to do it in the "normal" way that I would use outside of App designer, it didn't work.
Thanks for any answer :)
  3 件のコメント
Ajay Kumar
Ajay Kumar 2020 年 3 月 7 日
Yes, we can write functions with parameters in app designer. Please refer to this link
Michael Svejcar
Michael Svejcar 2020 年 3 月 7 日
I want to make function that has some input variables and returns output variables. For example function that you would feed two numbers into and it would give back one value which is their sum and another value which is the value after subtraction of these two numbers. I already looked in the documentation which you also posted here, but there's nothing about this particular usage of functions inside of App designer, not even in the examples. Does it mean that the only way to output these return values from functions inside App designer is to store them as local properties?

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

回答 (1 件)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2020 年 3 月 19 日

カテゴリ

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

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by