资源简介
自由曲面透镜,均匀照明,涉及matlab编程,二次配光设计
代码片段和文件信息
function varargout = A2(varargin)
%A2 M-file for A2.fig
% A2 by itself creates a new A2 or raises the existing
% singleton*.
%
% H = A2 returns the handle to a new A2 or the handle to
% the existing singleton*.
%
% A2(‘Property‘‘Value‘...) creates a new A2 using the
% given property value pairs. Unrecognized properties are passed via
% varargin to A2_OpeningFcn. This calling syntax produces a
% warning when there is an existing singleton*.
%
% A2(‘CALLBACK‘) and A2(‘CALLBACK‘hobject...) call the
% local function named CALLBACK in A2.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 A2
% Last Modified by GUIDE v2.5 07-Oct-2008 14:55:54
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @A2_OpeningFcn ...
‘gui_OutputFcn‘ @A2_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 A2 is made visible.
function A2_OpeningFcn(hobject ~ 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 A2
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes A2 wait for user response (see UIRESUME)
% uiwait(handles.PAINT);
% --- Outputs from this function are returned to the command line.
function varargout = A2_OutputFcn(~ ~ 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 hand
- 上一篇:GPS L5 软件接收机仅捕获和跟踪
- 下一篇:车辆动态仿真MATLAB仿真代码
评论
共有 条评论