Matlab - codigo.m

   
Vista:

codigo.m

Publicado por Esteban (17 intervenciones) el 19/03/2013 00:30:45
***DISCULPAR EL DOBLE POST, QUERIA CONTESTAR DEBAJO DE MI MENSAJE PARA PONER EL M-FILE Y ME HICE LA PIXA UN LIO!!

function varargout = BUTTON_GRUP_RADIO_BUTTON2(varargin)

gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @BUTTON_GRUP_RADIO_BUTTON2_OpeningFcn, ...
'gui_OutputFcn', @BUTTON_GRUP_RADIO_BUTTON2_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT


% --- Executes just before BUTTON_GRUP_RADIO_BUTTON2 is made visible.
function BUTTON_GRUP_RADIO_BUTTON2_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to BUTTON_GRUP_RADIO_BUTTON2 (see VARARGIN)

% Choose default command line output for BUTTON_GRUP_RADIO_BUTTON2
handles.output = hObject;

% Update handles structure
guidata(hObject, handles);

% UIWAIT makes BUTTON_GRUP_RADIO_BUTTON2 wait for user response (see UIRESUME)
% uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout = BUTTON_GRUP_RADIO_BUTTON2_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure
varargout{1} = handles.output;


% --- Executes when selected object is changed in uipanel1.
function uipanel1_SelectionChangeFcn(hObject, eventdata, handles)

if hObject == automatico
set(handles.funcionamiento,'string','automatico');
else
set(handles.funcionamiento,'string','manual');

end



function funcionamiento_Callback(hObject, eventdata, handles)




% --- Executes during object creation, after setting all properties.
function funcionamiento_CreateFcn(hObject, eventdata, handles)
% hObject handle to funcionamiento (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');

end
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de JOSÉ JEREMÍAS CABALLERO

radiobutton

Publicado por JOSÉ JEREMÍAS CABALLERO jjcc94@hotmail.com (3440 intervenciones) el 19/03/2013 06:16:46
http://www.lawebdelprogramador.com/foros/Matlab/1374457-Button_Grup.html

Saludos.
JOSE JEREMÍAS CABALLERO
Asesorías en Matlab
programador en matlab
Servicios de programación matlab
jjcc94@hotmail.com

http://matlabcaballero.blogspot.com

http://www.lawebdelprogramador.com/foros/Matlab/1371532-FORMA_DE_APRENDER_MATLAB.html
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar