jm_0001: Prohibited Simulink® standard blocks inside controllers
Controller models must be designed from discrete blocks.
MathWorks® "Simulink Block Data Type Support" table provides a list of blocks that support production code generation. See Simulink Block Data Type Support.
Use blocks listed as "Code Generation Support."
Do not use blocks listed as "Not recommended for production code." See footnote 4 in the table.
In addition to the blocks defined by the above rule, do not use the following blocks:
The following sources are not allowed:
|Band-Limited White Noise|
|Uniform Random Number|
The following additional blocks are not allowed. The MAAB Style guide group recommends not using the following blocks. The list may be extended by individual companies.
|Real-Imag to Complex|
|Complex to Magnitude-Angle|
|Interpreted MATLAB Function|
|Magnitude-Angle to Complex|
|Goto Tag Visibility|
|Complex to Real-Imag|
Verification and Validation
By Task > Modeling Standards for MAAB > Simulink > Check for blocks not recommended for C/C++ production code deployment
For check details, see Check for blocks not recommended for C/C++ production code deployment.
By Task > Modeling Standards for MAAB > Simulink > Check for blocks that are not discrete
For check details, see Check for prohibited blocks in discrete controllers.