Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How do I open a GUI from a GUI?

1 visualización (últimos 30 días)
kamil
kamil el 12 de Nov. de 2013
Cerrada: Doug Hull el 12 de Nov. de 2013

Respuestas (1)

Doug Hull
Doug Hull el 12 de Nov. de 2013
This documentation link might help.
  2 comentarios
kamil
kamil el 12 de Nov. de 2013
Editada: Doug Hull el 12 de Nov. de 2013
% --- Executes just before testingselasa is made visible.
function testingselasa_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 testingselasa (see VARARGIN)
% Choose default command line output for testingselasa
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% --- Outputs from this function are returned to the command line.
function varargout = testingselasa_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)
*what i am suppose to write the coding?*
kamil
kamil el 12 de Nov. de 2013
Editada: Doug Hull el 12 de Nov. de 2013
% Get default command line output from handles structure
varargout{1} = handles.output;
a =imread('download.jpg');
imshow(a);
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
*What i am suppose to write in pushbutton1 and pushbutton2?*

La pregunta está cerrada.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by