Main Content

plcladderinstructions

Lists ladder instructions identified by Simulink PLC Coder

Since R2020a

Description

out = plcladderinstructions returns the ladder instructions identified by Simulink® PLC Coder™. You can use these instructions to check if a customized, user-defined instruction has been identified by Simulink PLC Coder.

example

Examples

collapse all

To verify if Simulink PLC Coder has identified your newly created instruction, at the MATLAB® command line, enter:

plcladderinstructions
This command lists the instructions that Simulink PLC Coder can use. The supported instructions displayed in the output now includes your newly created instructions.

Output Arguments

collapse all

List of ladder instructions identified by Simulink PLC Coder.

Version History

Introduced in R2020a