Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

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.

Contact us