📄 jihe.m
字号:
function varargout = jihe(varargin)% JIHE M-file for jihe.fig% JIHE, by itself, creates a new JIHE or raises the existing% singleton*.%% H = JIHE returns the handle to a new JIHE or the handle to% the existing singleton*.%% JIHE('Property','Value',...) creates a new JIHE using the% given property value pairs. Unrecognized properties are passed via% varargin to jihe_OpeningFcn. This calling syntax produces a% warning when there is an existing singleton*.%% JIHE('CALLBACK') and JIHE('CALLBACK',hObject,...) call the% local function named CALLBACK in JIHE.M with the given input% arguments.%% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one% instance to run (singleton)".%% See also: GUIDE, GUIDATA, GUIHANDLES% Edit the above text to modify the response to help jihe% Last Modified by GUIDE v2.5 18-May-2006 15:25:28% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @jihe_OpeningFcn, ... 'gui_OutputFcn', @jihe_OutputFcn, ... 'gui_LayoutFcn', [], ... 'gui_Callback', []);if nargin & isstr(varargin{1}) gui_State.gui_Callback = str2func(varargin{1});endif 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 jihe is made visible.function jihe_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 unrecognized PropertyName/PropertyValue pairs from the% command line (see VARARGIN)% Choose default command line output for jihehandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes jihe wait for user response (see UIRESUME)% uiwait(handles.figure3);% --- Outputs from this function are returned to the command line.function varargout = jihe_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 structurevarargout{1} = handles.output;% --- Executes during object creation, after setting all properties.function edit1_CreateFcn(hObject, eventdata, handles)% hObject handle to edit1 (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 set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction edit1_Callback(hObject, eventdata, handles)% hObject handle to edit1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit1 as text% str2double(get(hObject,'String')) returns contents of edit1 as a double% --- Executes during object creation, after setting all properties.function ex_edit_k_CreateFcn(hObject, eventdata, handles)% hObject handle to ex_edit_k (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 set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction ex_edit_k_Callback(hObject, eventdata, handles)% hObject handle to ex_edit_k (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of ex_edit_k as text% str2double(get(hObject,'String')) returns contents of ex_edit_k as a double% --- Executes during object creation, after setting all properties.function ex_edit_m_CreateFcn(hObject, eventdata, handles)% hObject handle to ex_edit_m (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 set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction ex_edit_m_Callback(hObject, eventdata, handles)% hObject handle to ex_edit_m (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of ex_edit_m as text% str2double(get(hObject,'String')) returns contents of ex_edit_m as a double% --- Executes during object creation, after setting all properties.function ex_edit_p_CreateFcn(hObject, eventdata, handles)% hObject handle to ex_edit_p (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 set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction ex_edit_p_Callback(hObject, eventdata, handles)% hObject handle to ex_edit_p (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of ex_edit_p as text% str2double(get(hObject,'String')) returns contents of ex_edit_p as a double
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -