?? check.m
字號(hào):
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
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -