How to read data from .m file in GUI?
2 次查看(过去 30 天)
显示 更早的评论
My GUI would contain one drop-down menu to select the data files. But I don't know how to extract data from m file to GUI
can u help me.
2 个评论
Rik
2021-11-20
Extracting data from an m file is fairly difficult. M files contain code that could create variables when it is run. Are you sure you don't mean mat files?
采纳的回答
Cris LaPierre
2021-11-20
You would have to run the script from the gui. Then the variables it creates would exist in the corresponding callback function workspace.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!