Sharing Variables between app and matlab workspace?

11 views (last 30 days)
Hey community,
I have developed an app with the app designer, I am wondering if there's any way to preview and manipulate the variables generated by the app in matlab's main space.
Thanks in advance

Sign in to comment.

Accepted Answer

Bruno Luong
Bruno Luong on 16 Aug 2022
Put this statement after you generate your data in the callback
mydata = ...
assignin('base', 'mydata')

More Answers (0)


Find more on Develop Apps Using App Designer in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!