资源简介
Matlab GUI 使用全局变量进行多界面数据传递的实例
代码片段和文件信息
function varargout = net1(varargin)
% NET1 M-file for net1.fig
% NET1 by itself creates a new NET1 or raises the existing
% singleton*.
%
% H = NET1 returns the handle to a new NET1 or the handle to
% the existing singleton*.
%
% NET1(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in NET1.M with the given input arguments.
%
% NET1(‘Property‘‘Value‘...) creates a new NET1 or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before net1_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to net1_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 net1
% Last Modified by GUIDE v2.5 31-Jul-2009 19:07:47
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @net1_OpeningFcn ...
‘gui_OutputFcn‘ @net1_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 net1 is made visible.
function net1_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 net1 (see VARARGIN)
% Choose default command line output for net1
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes net1 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = net1_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 pushbutton1_Callback(hobject eventdata handles)
% hobject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version o
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1569 2009-07-31 19:10 GUI数据传递\net1.fig
文件 4398 2010-05-04 11:42 GUI数据传递\net1.m
文件 1594 2009-07-31 19:13 GUI数据传递\net2.fig
文件 4380 2009-07-31 19:13 GUI数据传递\net2.m
目录 0 2010-05-16 11:05 GUI数据传递
----------- --------- ---------- ----- ----
11941 5
- 上一篇:路径规划势场栅格法程序
- 下一篇:基于TSP的禁忌搜索MATLAB程序
相关资源
- 基于TSP的禁忌搜索MATLAB程序
- 路径规划势场栅格法程序
- 用matlab贝叶斯方法实现神经网络算法
- 回声隐藏matlab程序
- MATLAB R2012b 首发完美破解 所有组件可
- 卡尔曼滤波EKF UKF PF对比matlab源程序
- 决策树经典算法c4_5算法的matlab实现
- 复杂网络度分布图的matlab编程代码
- 复杂网络聚类系数的matlab编程代码
- 求平均最短路径长度的matlab编程代码
- 模拟退火算法matlab程序
- NSGA-3matlab源程序
- 经济调度粒子群算法matlab源程序
- 多目标粒子群算法matlab源程序
- 基于matlab雷达信号仿真
- MATLAB GUI 打开一幅图像 在图像上画多
- 复杂网络 图论 统计特征 Matlab 源代码
- 小波包分解与重构、能量谱 MATLAB代码
- 车辆检测 matlab
- CNN特征图可视化
- matlab实现三维表面形貌图
- LT码的编译码程序MATLAB
- MATLAB的有序样品聚类的程序
- Ncut调试可以运行的程序(matlab)
- GMSK matlab仿真代码
- RS码MATLAB仿真
- FIR带通滤波器的matlab仿真
- 2自由度车辆模型
- MATLAB用前值填充空值
- 无线传感器网络节点定位DVHOP算法在
评论
共有 条评论