slblocks.m

来自「toolbox of sdt implementation」· M 代码 · 共 22 行

M
22
字号
function blkStruct = slblocks
% Defines the Simulink library block representation for SDtoolbox

%   Author: Andrea Fornasari, Piero Malcovati
%   Copyright 1997-2002 University of Pavia
%   $Revision: 2.0

blkStruct.Name    = ['SD Toolbox'];
blkStruct.OpenFcn = 'SDtoolbox';

blkStruct.MaskDisplay = ['plot([5,0,3,0,5],[20,20,10,0,0],[7,10,13,7],[0,20,0,0]);'];

% Define the library list for the Simulink Library browser.
% Return the name of the library model and the name for it
Browser(1).Library = 'SDtoolbox';
Browser(1).Name    = 'SDtoolbox';
Browser(1).IsFlat  = 0;% Is this library "flat" (i.e. no subsystems)?

blkStruct.Browser = Browser;

% End of slblocks.m

⌨️ 快捷键说明

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