plcgeneratecode
Generate structured text or ladder diagram (L5X) for the atomic subsystem
Description
generates Structure Text or Ladder Diagram for the specified atomic subsystem in a
model.generatedfiles= plcgeneratecode(system)
Structured Text is generated for the specified atomic subsystem in a model. Argument
systemis the fully qualified path name of the atomic subsystem.generatedfilesis a cell array of the generated file names. You must first load or start the model.Ladder Diagram (L5X) file is generated for the specified system in the model. Argument
systemis the fully qualified path name of the top organizational unit in the Simulink® model. Thesystemshould either be a PLC Controller block, Ladder Diagram Function (AOI) block or an AOI Runner block.generatedfilesis a cell array of the generated file names. You must first load or start the Simulink model.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010a
See Also
plcopenconfigset | plcimportladder | plcgeneraterunnertb | plcladderoption | plcladderlib


