slblocks.m

来自「从MatlabSimulink模型到代码实现」· M 代码 · 共 21 行

M
21
字号
function blkStruct = slblocks%SLBLOCKS Defines the Simulink library block representation%   for My Simulink Blockset demo.blkStruct.Name    = ['times10' sprintf('\n') 'Blockset'];blkStruct.OpenFcn = 'times10';blkStruct.MaskInitialization = '';blkStruct.MaskDisplay = ['disp(''times10 Blockset'')'];% Define the library list for the Simulink Library browser.% Return the name of the library model and the name for it%Browser(1).Library = 'times10';Browser(1).Name    = 'Times10 Blockset';blkStruct.Browser = Browser; % End of slblocks.m

⌨️ 快捷键说明

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