Supported Blocks
For Simulink®semantics not supported bySimulink PLC Coder™, seeStructured Text Code Generation Limitations.
View Supported Blocks Library
To view a Simulink library of blocks that theSimulink PLC Codersoftware supports, typeplclib
in the Command Window. The coder can generate Structured Text code for subsystems that contain these blocks. The library window is displayed.
This library contains two sublibraries, Simulink and Stateflow®. Each sublibrary contains the blocks that you can include in aSimulink PLC Codermodel.
SupportedSimulinkBlocks
The coder supports the following Simulink blocks.
SupportedStateflowBlocks
The coder supports the following Stateflow blocks.