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

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 12 月 17 日

0 投票

3 件のコメント

Andil  Aboubakari
Andil Aboubakari 2014 年 12 月 17 日
編集済み: Andil Aboubakari 2014 年 12 月 17 日
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 2014 年 12 月 17 日
編集済み: Azzi Abdelmalek 2014 年 12 月 17 日
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 2014 年 12 月 17 日
I understand, thank you sir.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeWorkspace Variables and MAT Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by