Got Questions? Get Answers.
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:
handles and GUIDE - how to handle ? :(

Subject: handles and GUIDE - how to handle ? :(

From: Wanderson

Date: 21 Jun, 2013 22:03:12

Message: 1 of 2

Hii guys,

I'm trying to learn more about handles in MATLAB because I'm creating a graphic interface using GUIDE and its essential to know how to use handles.

I have a lot of situations where I need to use a value that is provided by a previous function, for example:


My first pushbottom provide an value to an editable text object, when you write the number 2 in this place, I have a variable called number that assigns this value;

In another part of my program, I am using a list of option object and when I select the first item of my list I want to my program print that number 2 assigned early by the first pushbottom.

I thought to use global variables, but I am pretty sure that we may have another way to do that.

Subject: handles and GUIDE - how to handle ? :(

From: Bruno Luong

Date: 23 Jun, 2013 09:26:16

Message: 2 of 2

"Wanderson " <wanderson.ferreira@usp.br> wrote in message <kq2ij0$nph$1@newscl01ah.mathworks.com>...

> I thought to use global variables, but I am pretty sure that we may have another way to do that.

Sure:
http://www.mathworks.fr/matlabcentral/newsreader/view_thread/296722

% Bruno

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