📄 possion.m
字号:
function varargout = Possion(varargin)% POSSION M-file for Possion.fig% POSSION, by itself, creates a new POSSION or raises the existing% singleton*.%% H = POSSION returns the handle to a new POSSION or the handle to% the existing singleton*.%% POSSION('Property','Value',...) creates a new POSSION using the% given property value pairs. Unrecognized properties are passed via% varargin to Possion_OpeningFcn. This calling syntax produces a% warning when there is an existing singleton*.%% POSSION('CALLBACK') and POSSION('CALLBACK',hObject,...) call the% local function named CALLBACK in POSSION.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 Possion% Last Modified by GUIDE v2.5 18-May-2006 14:20:28% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @Possion_OpeningFcn, ... 'gui_OutputFcn', @Possion_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 Possion is made visible.function Possion_OpeningFcn(hObject, eventdata, handles, varargin)% This function has no output args, see OutputFcn.% hObject handle to figure2% 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 Possionhandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes Possion wait for user response (see UIRESUME)% uiwait(handles.figure2);% --- Outputs from this function are returned to the command line.function varargout = Possion_OutputFcn(hObject, eventdata, handles)% varargout cell array for returning output args (see VARARGOUT);% hObject handle to figure2% 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 ex_edit_lanmd_CreateFcn(hObject, eventdata, handles)% hObject handle to ex_edit_lanmd (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_lanmd_Callback(hObject, eventdata, handles)% hObject handle to ex_edit_lanmd (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_lanmd as text% str2double(get(hObject,'String')) returns contents of ex_edit_lanmd 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -