Контрольная работа: Построение графического интерфейса в системе Matlab

% 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 kursovaya (see VARARGIN)


% Choose default command line output for kursovaya

handles.output = hObject;

% Update handles structure

guidata (hObject, handles);

% This sets up the initial plot – only do when we are invisible

% so window can get raised using kursovaya.

if strcmp (get(hObject, 'Visible'), 'on')

F = @(t, x) 0; ode23tx (F, [0 10], 1);

end

% UIWAIT makes kursovaya wait for user response (see UIRESUME)

% uiwait (handles.figure1);

% – Outputs from this function are returned to the command line.

function varargout = kursovaya_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 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)

axes (handles.axes1);

cla;

К-во Просмотров: 301
Бесплатно скачать Контрольная работа: Построение графического интерфейса в системе Matlab