Loop through all files in a second GUI

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

Do you need a loop for this? I'd try to add one dimension to data and pass everything in one variable.
I'm sorry, I am fairly new to MATLAB so I don't know what you mean with one dimension to data?

Sign in to comment.

Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Asked:

on 14 May 2018

Commented:

on 31 May 2018

Community Treasure Hunt

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

Start Hunting!