-
大小: 6KB文件类型: .rar金币: 2下载: 2 次发布日期: 2021-06-10
- 语言: Matlab
- 标签: matlabstkGUI
资源简介
STK(卫星仿真工具箱)/matlab联合仿真,带GUI软件界面(matlab)。场景演示的例程,可以作为一个仿真开发的基础平台。
代码片段和文件信息
function varargout = objectModel(varargin)
% objectMODEL M-file for objectModel.fig
% objectMODEL by itself creates a new objectMODEL or raises the existing
% singleton*.
%
% H = objectMODEL returns the handle to a new objectMODEL or the handle to
% the existing singleton*.
%
% objectMODEL(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in objectMODEL.M with the given input arguments.
%
% objectMODEL(‘Property‘‘Value‘...) creates a new objectMODEL or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before objectModel_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to objectModel_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 objectModel
% Last Modified by GUIDE v2.5 03-Nov-2005 11:11:59
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @objectModel_OpeningFcn ...
‘gui_OutputFcn‘ @objectModel_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 objectModel is made visible.
function objectModel_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 objectModel (see VARARGIN)
% Choose default command line output for objectModel
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% obtain a handle to the application
global OM
OM = actxserver(‘AgStkobjects8.AgStkobjectRoot‘)
% UIWAIT makes objectModel wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = objectModel_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 st
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4165 2005-11-03 12:29 Matlab Example\ob
文件 1941 2006-08-21 11:20 Matlab Example\ob
文件 5104 2006-08-21 11:21 Matlab Example\ob
文件 3584 2006-08-21 11:20 Matlab Example\ob
文件 3584 2006-08-21 11:20 Matlab Example\ob
目录 0 2011-05-13 22:43 Matlab Example
----------- --------- ---------- ----- ----
18378 6
评论
共有 条评论