Main Content

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 does not include sub-checks because the JMAAB modeling guideline provides only one sub ID.

For reference, the 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

ConditionRecommended 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.

Edit-Time Checking

This check is supported by edit-time checking.