Loop through all files in a second GUI
Show older comments
Hi everyone,
My main GUI reads all files in a specific folder and then splits the data in each file further. So in a loop, all files are split to the variable: Data. My second GUI will need to continue doing things with Data. I have figured out how to acquire Data to the second GUI by using this in the first GUI:
setappdata(0, 'Data', Data)
And this:
Data = getappdata(0, 'Data');
Now, the problem is that it does not seem to loop through all files in the second GUI. How can I do this?
3 Comments
Dennis
on 14 May 2018
Do you need a loop for this? I'd try to add one dimension to data and pass everything in one variable.
Debbie Oomen
on 14 May 2018
Stephen23
on 31 May 2018
See the original question and answer here:
Answers (0)
Categories
Find more on Interactive Control and Callbacks 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!