MATLAB: Read app designer edit box parameters from .m file

app designeredit boxMATLABread parameters

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.

Best Answer

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