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 个评论

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?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by