Check output data type of operation blocks
Check ID:
mathworks.jmaab.jc_0651
Guideline: jc_0651: Implementing a type conversion
Description
Checks if the model adheres to the guidelines for implementing type conversion.
This check requires a Simulink® Check™ license.
Check Parameterization
This check contains sub-checks that correspond to sub IDs specified in the MAB and JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.
For reference, the MAB guideline sub ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:
NA-MAAB — No recommendations
JMAAB — a
Results and Recommended Actions
Condition | Recommended Action |
---|---|
One or more Operation blocks found that directly specify the Output data type parameter. | Instead of directly specifying the Output data type parameter in Operation blocks, use the Data Type Conversion block to change the data type of a block output signal. |
Capabilities and Limitations
Runs on library models.
Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to
graphical
.Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
on
.Allows exclusions of blocks or charts.