资源简介
自己编的,用于做实验时激光的束腰调节。两个文件要放在一个文件夹里。
代码片段和文件信息
function varargout = No3(varargin)
% NO3 M-file for No3.fig
% NO3 by itself creates a new NO3 or raises the existing
% singleton*.
%
% H = NO3 returns the handle to a new NO3 or the handle to
% the existing singleton*.
%
% NO3(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in NO3.M with the given input arguments.
%
% NO3(‘Property‘‘Value‘...) creates a new NO3 or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before No3_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to No3_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
% Edit the above text to modify the response to help No3
% Last Modified by GUIDE v2.5 23-Oct-2008 13:15:51
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @No3_OpeningFcn ...
‘gui_OutputFcn‘ @No3_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 No3 is made visible.
function No3_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 No3 (see VARARGIN)
% Choose default command line output for No3
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes No3 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = No3_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 edit1_Callback(hobject eventdata handles)
% hobject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5520 2008-10-23 17:10 激光束腰调节\No3.fig
文件 12016 2008-10-23 18:44 激光束腰调节\No3.m
文件 167983 2009-08-25 15:27 激光束腰调节\束腰调节.jpg
目录 0 2009-08-25 15:28 激光束腰调节
----------- --------- ---------- ----- ----
185519 4
- 上一篇:matlab模型预测控制
- 下一篇:通信系统的matlab仿真
评论
共有 条评论