基于MATLAB的交互式教学系统的设计与开发
function varargout = JHSJX(varargin)
% JHSJX M-file for JHSJX.fig
% JHSJX, by itself, creates a new JHSJX or raises the existing
% singleton*.
%
% H = JHSJX returns the handle to a new JHSJX or the handle to
% the existing singleton*.
%
% JHSJX('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in JHSJX.M with the given input arguments.
%
% JHSJX('Property','Value',...) creates a new JHSJX or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before JHSJX_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to JHSJX_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Copyright 2002-2003 The MathWorks, Inc.
% Edit the above text to modify the response to help JHSJX
% Last Modified by GUIDE v2.5 08-Mar-2012 08:38:11
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @JHSJX_OpeningFcn, ...
'gui_OutputFcn', @JHSJX_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 JHSJX is made visible.
function JHSJX_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 JHSJX (see VARARGIN)
% Choose default command line output for JHSJX
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes JHSJX wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = JHSJX_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 pushbuttonXT.
function pushbuttonXT_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonXT (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
JHS
close(JHSJX)
% --- Executes on button press in pushbuttonBJ.
function pushbuttonBJ_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonBJ (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
JHS1
close(JHSJX)
% --- Executes on button press in pushbuttonTCXT.
function pushbuttonTCXT_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonTCXT (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
Close
附录二
function varargout = JHS(varargin)
% JHS M-file for JHS.fig
% JHS, by itself, creates a new JHS or raises the existing
% singleton*.
%
% H = JHS returns the handle to a new JHS or the handle to
% the existing singleton*.
%
% JHS('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in JHS.M with the given input arguments.
%
% JHS('Property','Value',...) creates a new JHS or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before JHS_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to JHS_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Copyright 2002-2003 The MathWorks, Inc.
% Edit the above text to modify the response to help JHS
% Last Modified by GUIDE v2.5 09-Mar-2012 20:42:08
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @JHS_OpeningFcn, ...
'gui_OutputFcn', @JHS_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 JHS is made visible.
function JHS_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 JHS (see VARARGIN)
% Choose default command line output for JHS
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes JHS wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = JHS_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 pushbuttonF1.
function pushbuttonF1_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonF1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
%colormap(hsv(64))
z = cplxgrid(30);
cplxmap(z,z)
title('z')
% --- Executes on button press in pushbuttonF6.
function pushbuttonF6_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonF6 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
axis('auto')
cplxroot(2)
view(0,0)
title('sqrt(z)')
% --- Executes on button press in pushbuttonF2.
function pushbuttonF2_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonF2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
z = cplxgrid(30);
cplxmap(z , z.^3)
title('z^3')
% --- Executes on button press in pushbuttonF7.
function pushbuttonF7_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonF7 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
view(-37.5,30)
cplxroot(2)
title('sqrt(z)')
% --- Executes on button press in pushbuttonF4.
function pushbuttonF4_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonF4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
z = cplxgrid(30);
cplxmap(z,1./(z+eps*(abs(z)==0)),5*pi);
title('1/z')
% --- Executes on button press in pushbuttonF5.
function pushbuttonF5_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonF5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
z = cplxgrid(30);
cplxmap(z,atan(z),1.9)
title('atan(z)')
% --- Executes on button press in pushbuttonF3.
function pushbuttonF3_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonF3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
z = cplxgrid(30);
cplxmap(z,z.^2);
title('z^2')
% --- Executes on button press in pushbuttonF8.
function pushbuttonF8_Callback(hObject, eventdata, handles)
% hObject handle to pushbuttonF8 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
cplxroot(3)
title('z^(1/3)')
% --- Executes on button press in radiobuttonFANHUI.
function radiobuttonFANHUI_Callback(hObject, eventdata, handles)
% hObject handle to radiobuttonFANHUI (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobuttonFANHUI
JHSJX
close(JHS)
附录三
function varargout = JHS1(varargin)
% JHS1 M-file for JHS1.fig
% JHS1, by itself, creates a new JHS1 or raises the existing
% singleton*.
%
% H = JHS1 returns the handle to a new JHS1 or the handle to
% the existing singleton*.
%
% JHS1('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in JHS1.M with the given input arguments.
%
% JHS1('Property','Value',...) creates a new JHS1 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before JHS1_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to JHS1_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Copyright 2002-2003 The MathWorks, Inc.
% Edit the above text to modify the response to help JHS1
% Last Modified by GUIDE v2.5 08-Mar-2012 08:36:32
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @JHS1_OpeningFcn, ...
'gui_OutputFcn', @JHS1_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 JHS1 is made visible.
function JHS1_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 JHS1 (see VARARGIN)
% Choose default command line output for JHS1
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes JHS1 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = JHS1_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 radiobuttonJR.
function radiobuttonJR_Callback(hObject, eventdata, handles)
% hObject handle to radiobuttonJR (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobuttonJR
notebook
JHS1
% --- Executes on button press in radiobuttonFANHUI.
function radiobuttonFANHUI_Callback(hObject, eventdata, handles)
% hObject handle to radiobuttonFANHUI (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobuttonFANHUI
JHSJX
close(JHS1)
相关文章
- 【MATLAB教程案例99】人脸图像的无线传输通信链路及远程识别系统matlab仿真(上)——通信链路
- 【MATLAB教程案例97】基于GA遗传优化的CNN卷积神经网络最优训练参数搜索matlab仿真
- 【MATLAB教程案例96】基于GA优化的WSN最大覆盖率和最少节点部署数量matlab仿真
- 【MATLAB教程案例67】基于Actor-Critic结构强化学习的车杆平衡控制系统matlab仿真
- 【MATLAB教程案例61】使用matlab实现基于ResNet残差网络的数据分类仿真分析
- 【MATLAB教程案例60】使用matlab实现基于GRU网络的数据分类预测功能与仿真分析
- 【MATLAB教程案例45】基于双目视觉的图像深度信息提取算法matlab仿真
- 【MATLAB教程案例44】通过matlab学习三维曲面的建模,颜色,透明度,动态变化等——以海浪曲面函数为例
- 【MATLAB教程案例42】语音信号的MFCC特征提取matlab仿真
- 【MATLAB教程案例31】基于matlab的人脸检测相关算法的仿真与分析——肤色模型与形态学图像处理方法
- 【MATLAB教程案例17】基于NSGAII多目标优化算法的matlab仿真及应用
- 【MATLAB教程案例13】基于SA模拟退火优化算法的函数极值计算matlab仿真及其他应用
- 【MATLAB教程案例8】基于LS算法的OFDM调制解调系统信道估计和均衡算法的matlab仿真
- 【MATLAB教程案例5】常见无线通信信道的matlab模拟和仿真分析——自由空间损耗模型,Okumura-Hata模型以及COST231 Hata模型
- 【FPGA教程案例36】通信案例6——基于vivado核的FFT傅里叶变换开发以及verilog输入时序配置详解,通过matlab进行辅助验证
- 【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
- 【Matlab小问题】# error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
- MATLAB新手教程