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

📄 cssinit.m

📁 信号实验常用的simulink模型和mfile,可直接在matlan下运行。
💻 M
字号:
function stopFlag=cssinit(figNumber)
%CSSINIT Initialize the Slide Show figure
%
%	stopFlag=CSSINIT(figNumber) interacts with the function 
%	CSSHOW to initialize the Slide Show figure with the appropriate
%	information. Its sole purpose is to exit the demo script after the
%	initial plot and text are displayed, thereby allowing the user
%	to decide if they want to see the demo.

% If figNumber is zero, the demo will run without the GUI shell.
if figNumber==0,
    % The stopFlag must be set to one even though in this case the demo
    % will NOT stop. This allows the first screen to plot properly when
    % running the demo from the command line.
    stopFlag=1;

else
    figure(figNumber);
    axHndl=gca;
    hndlList=get(figNumber,'UserData');

    startHndl=hndlList(2);
    % The UserData for the Start button is the Init Flag.
    % If it is high, then we SHOULD set stopFlag to high (and thus
    % exit the demo script early).

    if get(startHndl,'UserData'),
        % Set the UserData of the start button.
        set(startHndl, ...
	    'UserData',0, ...
	    'String','开始', ...
	    'Interruptible','on');
        stopFlag=1;
    else
        % If the initialization screen has already been placed,
        % then keep executing the script.
        stopFlag=0;
	% Once we start the slide show, the Start button should
	% change to a "Reset" button. Also, set its "interruptible"
	% property to off so we don't cause problems later on with
	% user double-clicks.
 	set(startHndl, ...
	    'String','重置', ...
	    'Interruptible','off');
    end;

end    % if figNumber==0 ...

⌨️ 快捷键说明

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