Thread Subject: Accessing workspace variables from GUI

Subject: Accessing workspace variables from GUI

From: Yvette

Date: 6 Jul, 2009 17:49:02

Message: 1 of 2

This is my situation:

I have written this program in matlab which does a lot of multiplying and adding of large matrices. These matrices are multiplied with matrices which I've saved in the workspace. The eventual outcome is an image which i used surfc to implement. I used to run it in matlab but I would like for it to be more user friendly, hence I am implementing a GUI for it. I'm not very familliar with GUI and so I'm in a sticky situation. I have a pushbutton and i have put this program into the callback function (can I do that??). It works fine when run in matlab command window since it can access the worskpace matrices but I do not know how to program it to also read the workspace variables from and into the GUI. I'm speaking about 200 100x100 matrices. I do hope someone can help me. Thanking you in advance

yvette

Subject: Accessing workspace variables from GUI

From: Zhelyazko

Date: 6 Jul, 2009 20:02:01

Message: 2 of 2

v = evalin('base', 'var');
Try
>>doc evalin
for more info

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
variables from gui Sprinceana 6 Jul, 2009 17:19:45
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com