gusucode.com > vnt工具箱matlab源码程序 > vnt/vntblks/vntblks/slblocks.m
function blkStruct = slblocks %SLBLOCKS Define the Simulink library block representation. % % Define the Simulink library block representation for the Vehicle % Network Toolbox Block Library. % SS 4-01-08 % Copyright 2008 The MathWorks, Inc. blkStruct.Name = sprintf('Vehicle\nNetwork\nToolbox'); blkStruct.OpenFcn = 'vntlib'; blkStruct.MaskInitialization = ''; % Define the library list for the Simulink Library browser. % Return the name of the library model and the name for it Browser(1).Library = 'vntlib'; Browser(1).Name = 'Vehicle Network Toolbox'; blkStruct.Browser = Browser; % End of slblocks.m