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

조회 수: 4 (최근 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 CenterFile Exchange에서 Develop 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