MATLAB Answers

Output arguments from App Designer?

48 views (last 30 days)
Viviana Zlochiver
Viviana Zlochiver on 7 Feb 2018
Commented: Stephen Cobeldick on 25 Nov 2020 at 15:43
I'm trying to get my designed app to return a two element vector to my main workspace when it has a button pushed, so I can use it later in the main program. I found mention that it was an issue that would be resolved in R2017b, but I haven't been able to find any documentation on it, other than a reference to including a public function as a work around. Help with either approach would be appreciated. Using R2017b.
Thanks!

  4 Comments

Show 1 older comment
Viviana Zlochiver
Viviana Zlochiver on 8 Feb 2018
It's mentioned briefly on the link below, and there was another ride mention, but I couldn't find it again.
https://www.mathworks.com/matlabcentral/answers/284512-input-and-output-arguments-in-app-designer
Shashank
Shashank on 12 Feb 2018
This MATLAB Answers thread discusses about Input arguments, no mention of Output arguments.
You can use the assignin to save the variable in the base workspace and use it later.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!