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

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 17 Déc 2014

0 votes

3 commentaires

Andil  Aboubakari
Andil Aboubakari le 17 Déc 2014
Modifié(e) : Andil Aboubakari le 17 Déc 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 le 17 Déc 2014
Modifié(e) : Azzi Abdelmalek le 17 Déc 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
Andil  Aboubakari
Andil Aboubakari le 17 Déc 2014
I understand, thank you sir.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by