To talk on Icrontic, just register!

It only takes 30 seconds.

Have an account? Sign in:

Forgot?
pbutter
New to the neighborhood
pbutter
2 Posts

Help with MATLAB GUI

I am trying to build a GUI that programmatically changes the state of a radiobutton when certain conditions are met. I am coding the following within the callback:

function radiobutton1_Callback(hObject, eventdata, handles)
LPpumpHandle = findobj(gcbf,
'Tag','radiobutton1');
set(LPpumpHandle,
'Value',1);

For some reason this will not work. Once you physically click on the radiobutton and the correct state is achieved it will not change but it will not just work automatically.

Also, is there a way to disable the mouse click function of the radiobutton and only allow it to work programmatically?

Help!
Similar Threads
Thread Thread Starter Forum Replies Last Post
Solving multiple equations using Matlab avi2112ben Matlab Help 3 22 Feb 2008 8:58pm
matlab solver - grid search Dina Matlab Help 8 6 Jun 2007 5:29pm
gui matlab help tmh88 Matlab Help 4 30 May 2007 2:07am
MatLab problem - inline function zero finder PGolasze Matlab Help 4 10 May 2007 12:38am
Folding At Home Releases GUI Client Version 5.03 KingFish Technology Articles 4 1 Dec 2005 4:36pm

Go Back   Icrontic Forums > Tech: Software > General Software > Matlab Help
Jump to
This Thread Search this Thread
Search this Thread:

Advanced Search


Current time: 6:00am (GMT)
Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Get Vanilla instead. Trust me.