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

Dennis
Dennis 2018년 5월 14일
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 2018년 5월 14일
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에 대해 자세히 알아보기

질문:

2018년 5월 14일

댓글:

2018년 5월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by