MATLAB: How to find a list of inputs, outputs, and states of a Simulink® model using Real-Time Workshop® Embedded Coder

Embedded Codersimulinksimulink coder

When I create a model, I would like to find a listing of the inputs, outputs, and states of the model. This information could be used to perform tasks such as creating data dictionary and verifying the model interface to other components.

Best Answer

An example of generating a list of external inputs, outputs, and states in a model using Real-Time Workshop can be found at the following link:
Note that MathWorks does not guarantee or warrant the use or content of MATLAB Central submissions. Any questions, issues, or complaints should be directed to the contributing author.