资源简介
基于matlab电流环周围磁场仿真
代码片段和文件信息
function varargout = cichang1(varargin)
% CICHANG1 M-file for cichang1.fig
% CICHANG1 by itself creates a new CICHANG1 or raises the existing
% singleton*.
%
% H = CICHANG1 returns the handle to a new CICHANG1 or the handle to
% the existing singleton*.
%
% CICHANG1(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in CICHANG1.M with the given input arguments.
%
% CICHANG1(‘Property‘‘Value‘...) creates a new CICHANG1 or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before cichang1_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to cichang1_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 cichang1
% Last Modified by GUIDE v2.5 30-Nov-2011 21:43:11
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @cichang1_OpeningFcn ...
‘gui_OutputFcn‘ @cichang1_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 cichang1 is made visible.
function cichang1_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 cichang1 (see VARARGIN)
% Choose default command line output for cichang1
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
if strcmp(get(hobject‘Visible‘)‘off‘)
surf(peaks);
rotate3d off;
end
% UIWAIT makes cichang1 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = cichang1_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 selection change in listbox1.
function listbox1_Callback(hobject eventdata handles)
selected.index=get(
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 15554 2011-11-27 22:34 电流环磁场\GUI\cichang1.asv
文件 9305 2011-12-15 19:45 电流环磁场\GUI\cichang1.fig
文件 15914 2011-11-30 21:43 电流环磁场\GUI\cichang1.m
文件 1349 2011-11-20 11:42 电流环磁场\程序\cichang.asv
文件 1349 2011-11-20 11:56 电流环磁场\程序\cichang.m
目录 0 2011-12-15 19:45 电流环磁场\GUI
目录 0 2011-11-20 16:35 电流环磁场\程序
目录 0 2011-11-20 16:35 电流环磁场
----------- --------- ---------- ----- ----
43471 8
- 上一篇:DV-HOP算法代码
- 下一篇:JPEG彩色图像分块压缩量化编码matlab代码
评论
共有 条评论