How can I save data with a prompt ui in Matlab App Designer based app?

2 views (last 30 days)
I need to save some data generated by the app. I tried the following code but the program cannot locate these variables:
uisave({'app.dataA', 'app.dataB'});

Answers (1)

Walter Roberson
Walter Roberson on 14 Jun 2017
Edited: Walter Roberson on 14 Jun 2017
Assign those to local variables and uisave the local variables. app.dataA is not a variable: it is a structure reference or object property reference.

Categories

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!