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

 Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 17 Dic 2014

3 Commenti

Andil  Aboubakari
Andil Aboubakari il 17 Dic 2014
Modificato: Andil Aboubakari il 17 Dic 2014
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?
Azzi Abdelmalek
Azzi Abdelmalek il 17 Dic 2014
Modificato: Azzi Abdelmalek il 17 Dic 2014
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.

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by