For Simulink® semantics not supported by Simulink PLC Coder™, see Structured Text Code Generation Limitations.
To view a Simulink library of blocks that the Simulink
PLC Coder software supports, type plclib
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 a Simulink PLC Coder model.
The coder supports the following Simulink blocks.
The coder supports the following Stateflow blocks.