slblocks.m

来自「一个matlab的将军模型」· M 代码 · 共 28 行

M
28
字号
function blkStruct = slblocks
%SLBLOCKS Defines the block library for a specific Toolbox or Blockset.

% Name of the subsystem which will show up in the SIMULINK Blocksets
% and Toolboxes subsystem.
% Example:  blkStruct.Name = 'DSP Blockset';

% The function that will be called when the user double-clicks on
% this icon.
% Example:  blkStruct.OpenFcn = 'dsplib';

% The argument to be set as the Mask Display for the subsystem.  You
% may comment this line out if no specific mask is desired.
% Example:  blkStruct.MaskDisplay = 'plot([0:2*pi],sin([0:2*pi]));';

blkStruct.OpenFcn = 'template';
blkStruct.Name = 'Checkmate';

 Browser(1).Library = 'template';
  Browser(1).Name    = 'CheckMate';
  Browser(1).IsFlat  = 1;
 blkStruct.Browser = Browser;

% End of slblocks



⌨️ 快捷键说明

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