Hello,
I am working on building an app in which I can analyze multiple datasets that have to be processed in a similar way.
The workflow will be to first load a particular dataset. Which dataset is determined by choosing an option in a dropdown selection and subsequently pressing Load data. I have so far written the part where I can load the data from the different types of datasets and display them to judge if any data needs to be excluded. after all data in the set is judged for inclusion, I have several matrices and cell arrays that need to be kept for later processing. I wanted to keep the number of properties limited and each dataset contains similar matrices and cell arrays (data[x,y,z] with the values, filenames{x,y} with the names of the file etc.) that later on can be processed in the same way.
In matlab I would store these different matrices and arrays in a data structure that I would name according to the dataset I'm loading. However, I cannot manage to do this in matlab appdesigner. I already made the matrices and cell arrays as properties so I can access them in different parts of the app.
I was wondering if there is a way to group these in app designer so I can have a specific name, e.g. 'CurrentClamp', under which I have the properties: 'data', 'filenames','etc.', or named 'VoltageClamp', under which I then also have the properties: 'data', 'filenames','etc.'
I define them now as follows but in this way I would have to make many properties and add the type of dataset to their name.
properties (Access = private)
data = [];
data_filename = {};
excluded_data = [];
excluded_filename = {};
end
Thank you in advance.