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 Kommentare

Dennis
Dennis am 14 Mai 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
Debbie Oomen am 14 Mai 2018
I'm sorry, I am fairly new to MATLAB so I don't know what you mean with one dimension to data?
Stephen23
Stephen23 am 31 Mai 2018

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 14 Mai 2018

Kommentiert:

am 31 Mai 2018

Community Treasure Hunt

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

Start Hunting!

Translated by