For Simulink®semantics not supported bySimulink PLC Coder™, seeStructured Text Code Generation Limitations.
To view a Simulink library of blocks that theSimulink PLC Codersoftware supports, typePLCLIB.
在命令窗口中。编码器可以为包含这些块的子系统生成结构化文本代码。将显示“库”窗口。
This library contains two sublibraries, Simulink and Stateflow®. Each sublibrary contains the blocks that you can include in aSimulink PLC Coder模型。
The coder supports the following Simulink blocks.
The coder supports the following Stateflow blocks.