⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 check.m

📁 Matlab communication toolbox.
💻 M
字号:
function check

% CHECK .........	Checks whether the global variables have been
%                   initialized or not.   If they are not set then
%                   will issue the initialization command "start"
%                   allowing the user to enter the experiment number
%                   before returning the control to the calling function.

%	AUTHOR :  M. Zeytinoglu
%             Department of Electrical & Computer Engineering
%             Ryerson Polytechnic University
%             Toronto, Ontario, CANADA
%
%	DATE    : November 1992.
%	VERSION : 1.0

%===========================================================================
% Modifications history:
% ----------------------
%	o	Tested (and modified) under MATLAB 4.0/4.1 08.16.1993 MZ
%===========================================================================

%-----------------------------------------
%  if "start" has been called before 
%    START_OK = 1,
%  else 
%    START_OK = 0
%-----------------------------------------

global START_OK

if ( exist('START_OK') )

  return;

else

eval('fprintf(''\007\007\007'')');

disp(' ');
disp('********************************************************************');
disp('*                                                                  *');
disp('*   Please initiliaze global variables first.  You will now be     *');
disp('*   be prompted to enter the experiment number.   Enter the        *');
disp('*   experiment number and these variables will be set for you.     *');
disp('*                                                                  *');
disp('*   Please read page 11 in the User''s Manual on how to initialize  *');
disp('*   the simulation environment.                                    *');
disp('*                                                                  *');
disp('********************************************************************');
disp(' ');

  start;

end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -