External I/O and State Information Block

This block generates an extra file during code generation containing external Inputs, outputs an

You are now following this Submission

Editor's Note: This file was a File Exchange Pick of the Week

Some have asked how a list of inputs, outputs and states in a model can be generated. This is one way to do it. Just add the block to your simulink model and start the code generation. The block won't affect simulation or other generated files. You will get one additional file in the code generation process containing the list.

The list can be used to create a data dictionary, to verify the interface to other components and so on.

To install: Unpack the zip-file in a directory and add that directory to your MATLAB(R) path. When you start Simulink(R) the block library should be added automatically to your Simulink library browser.

Cite As

Roger Aarenstrup (2026). External I/O and State Information Block (https://www.mathworks.com/matlabcentral/fileexchange/11736-external-i-o-and-state-information-block), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Changed text

1.0.0.0

Fixed some typos, in the text.