Read app designer edit box parameters from .m file

1 view (last 30 days)
I want to read some parameters and its values declared in app designer from a .m file, is it posible?
The user will enter the data via edit file boxes and I want to transfer this data to a .m file to do some calculations.
Here you have the example code of the edit box in app designer code:
%value changed function: SentidoListBox
function SentidoListBoxValueChanged(app, event)
value = app.SentidoListBox.Value;
app.Sentido = value;
I want to read the value of app.Sentido from a .m file or to load it into the workspace of matlab.
Thanks.

Accepted Answer

Jon Millan
Jon Millan on 20 Nov 2020
The solution can be found at this MATLAB Answer:
https://es.mathworks.com/matlabcentral/answers/335567-how-can-i-export-app-data-in-the-workspace

More Answers (0)

Categories

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

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!