Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How do I open a GUI from a GUI?

1 Ansicht (letzte 30 Tage)
kamil
kamil am 12 Nov. 2013
Geschlossen: Doug Hull am 12 Nov. 2013

Antworten (1)

Doug Hull
Doug Hull am 12 Nov. 2013
This documentation link might help.
  2 Kommentare
kamil
kamil am 12 Nov. 2013
Bearbeitet: Doug Hull am 12 Nov. 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 am 12 Nov. 2013
Bearbeitet: Doug Hull am 12 Nov. 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?*

Diese Frage ist geschlossen.

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by