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
I understand, thank you sir.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Workspace 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