(Has been removed) Generate Ladder Diagram code from Stateflow chart
plcgenerateladder will be removed in a future release. For more information, see Compatibility Considerations.
plcgenerateladder(
generates code from a Stateflow® chart that you can import to an IDE such as CODESYS 3.5 and view as a ladder diagram.chartPath
)
plcgenerateladder(
uses additional options specified by one or more chartPath
,Name,Value
)Name,Value
pair arguments. For instance, you can create a validation model or test bench to compare the generated Ladder Diagram code against the original Stateflow chart.