资源简介
MATLAB课程设计(数字拼图游戏).7z
代码片段和文件信息
function varargout = test2(varargin)
% TEST2 MATLAB code for test2.fig
% TEST2 by itself creates a new TEST2 or raises the existing
% singleton*.
%
% H = TEST2 returns the handle to a new TEST2 or the handle to
% the existing singleton*.
%
% TEST2(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in TEST2.M with the given input arguments.
%
% TEST2(‘Property‘‘Value‘...) creates a new TEST2 or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before test2_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to test2_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 test2
% Last Modified by GUIDE v2.5 04-Jul-2017 23:03:56
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @test2_OpeningFcn ...
‘gui_OutputFcn‘ @test2_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 test2 is made visible.
function test2_OpeningFcn(hobject eventdata handles varargin)
global t
t=timer(‘TimerFcn‘{@timercallbackhandles}‘ExecutionMode‘ ‘fixedRate‘ ‘Period‘ 1);
% 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 test2 (see VARARGIN)
% Choose default command line output for test2
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes test2 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = test2_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;
global G Snum t
G=[1 2 3;4 5 6;7 8 0];%定义正确答案
Snum=0;%步数变量
start(t);%定时器开始计时
% --- Executes on button press in Reset.
function Reset_Callback(hobject eventd
相关资源
- 刚度矩阵算法
- 贝叶斯分类器Matlab实现113478
-
SVPWM的simuli
nk仿真286115 - matlab开发-HX711的自定义数据库
- Linux2015.11V1.1思维导图周阳mmap
- 5d5680a96365f0e9a0c7114890f97460.mobi
- 802.11n信道模型
- 李纯明的2011年水平集新论文加上试验
- 各种PID算法
- MATLAB智能算法129611
- 牛拉法matlab源程序118节点
- 【MATLAB GUI设计学习手记】源代码116
- 精通Matlab最优化计算源代码114682
- 通信原理MATLAB仿真实验指导书林志谋
- 802.11a_simulation with matlab
- Matlab车道线检测46119
- ACC_Vehicle_MPC-20191104.zip
- 802.11a物理层链路
- 2011年全国大学生电子设计竞赛综合测
- HHT希尔伯特黄变换 MATLAB工具箱174211
- MATLAB在振动信号处理中的应用_115704
- STK11.0x64 破解器
- psat-2.1.11-mat.zip最新版本
- ieee118节点潮流计算程序及节点数据
- 基于 802.11a 的 OFMD 仿真实验 MATLAB 实现
- 13811540_卡尔曼滤波原理及应用MATLAB仿
- Psychtoolbox-3-PTB_Beta-2014-04-06_V3.0.11.zip
- IE11-Windows6.1-KB3008923-x64
- 湿度控制器.ms11
- ex2_1202121115.m
评论
共有 条评论