Global Index (short | long) | Local contents | Local Index (short | long)
blkStruct = slblocks
SLBLOCKS Defines the block library for a specific Toolbox or Blockset.
This function calls | |
---|---|
function blkStruct = slblocks % Copyright (c) 1986-98 by The MathWorks, Inc. % $Revision: 1.4 $ % Name of the subsystem which will show up in the SIMULINK Blocksets % and Toolboxes subsystem. % Example: blkStruct.Name = 'DSP Blockset'; blkStruct.Name = ['System ID' sprintf('\n') 'Blocks']; % The function that will be called when the user double-clicks on % this icon. % Example: blkStruct.OpenFcn = 'dsplib'; blkStruct.OpenFcn = 'slident'; % 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]));'; % No display for now. % blkStruct.MaskDisplay = ''; % End of blocks