How to create multiple variables/structs in GUIDE
Show older comments
I want to display data from several csv-files in some plots. To distinguish the data, I want to chose a number from 1-10 via a Pop-Up-menu before I press a button, which starts the textscan. Is it possible to create a variable in guide named 1,2,3-10 (dependend from the Pop-Up-Menu), in which the data of several columns of data from the csv-file is stored? I use „case“ for storing the number by setappdata(handles.number, ‚Number‘, 1-10) in the pop-up-menu. I don´t know how to create variables, that can be used by further callback functions like 1.column1, 1.column2 (from the first csv-file and number one chosen by the pop-up-menu), 2.column1, 2.column2 (second csv-file and number two chosen from the pop-up-menu), and so on. I would be happy, if someone could help me with this problem….
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 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!