Simulink enables you to layout rather large and diverse diagrams. For large diagrams, this can make it difficult to understand what are all the points in the model where one can input data or have access to output data. The Signature Tool provides 2 capabilies to deal with this issue.
- Organize the model to provide a interface summary
- Generate an interface report document.
There is also a means to generate a testbench, but I won’t focus on that here as this capability is also available in Simulink Test.
By applying the model signature to the example model rtwdemo_pmwm (ships with Embedded Coder), you can quickly see that the model requires 4, inputs, 2 outputs, and has a global memory store declared.
The same tool can also generate a document that describes the inputs and outputs of this same model.
This is particularly important if you are attempting to share interface information with someone who doesn’t have access to Simulink, like sharing your interface with an embedded software development group. Or you need to document the interface as part of a rigorous design process.
The two key elements for me are it is:
- Easy to use
- Well documented
Right-click on a model or subsystem, and you are able to generate the signature in the model, or the report. There’s also a nice little user interface to help select options for the generation of these two elements.
The documentation for this tool is also well done. The File Exchange entry also contains links to publications about the topics of understanding Simulink model interfaces.
Simulink does have a built-in capability to summarize the input and output ports of a given model or subsystem.
This provides much of the same information as the Signature Tool signature report, but requires that you generate code from the model.
Let us know here.
Published with MATLAB® R2017a
Comments are closed.