Code covered by the BSD License  

Highlights from
MATLAB 7 Fundamentos

image thumbnail

MATLAB 7 Fundamentos

by

 

09 Aug 2004 (Updated )

Companion Software for the book "MATLAB 7 Fundamentos"

radio_callback ( )
function radio_callback ( )
h=gcf;  % Figura corrente
obj=findobj(h,'Tag','radiobutton1'); 
value=get(obj,'Value'); % Obtem valor indicado
if value == 1
    msgbox('ON')
else
    msgbox('OFF')
end

Contact us