How to store cell array or data in the GUI?

I made a script that read an xls file and put it into a cell array,plot the data from the excel file values and save the figure plot. I am trying to make that script into a simple GUI application. I manage to read the xls file but I don't know how to store variables and use it in the GUI.
Thanks

 采纳的回答

3 个评论

I have figure it out by using assignin and global. Will that work better if my variable is a cell array and used in for loops?
This is not a good idea. If you don't want to use guidata, you can store your data in userdata of any of your objects
I understand, thank you sir.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by