Code covered by the BSD License  

Highlights from
External I/O and State Information Block

image thumbnail
from External I/O and State Information Block by Roger Aarenstrup
This block generates an extra file during code generation containing external Inputs, outputs an

slblocks
function blkStruct = slblocks

blkStruct.Name = sprintf('Model I/O and State Information');
blkStruct.OpenFcn = 'model_info';
blkStruct.MaskDisplay = 'disp(''Model I/O and State Information'')';

% Information for Simulink Library Browser
Browser(1).Library = 'model_info';
Browser(1).Name    = 'Model I/O and State Information';
Browser(1).IsFlat  = 1;% Is this library "flat"

blkStruct.Browser = Browser;

Contact us at files@mathworks.com