storage of parameters edit fields( numeric) in App designer
4 views (last 30 days)
I have a file where I have stored numeric parameters ('parameters.mat').
My app needs to read the parameters from the 'parameters.mat' file and must associate them with some edit fields (numeric) of App designer .
How can i do this?
Mario Malic on 22 Feb 2021
You can use load function to load the file in startupFcn, an example:
data = load('parameters.mat');
% data is a struct with fields named by variables in your file
app.EditField.Value = data.VariableName;