plcladderoption
Get or set parameter values for ladder diagram model
Description
plcladderoption(
sets the parameter mdlName,Name=Value)Name, to the value,
Value, for the ladder diagram model,
mdlName. If you do not specify the
Value argument, the function returns the value of the
parameter specified by Name. You must open or load the
Simulink® ladder diagram model before you use the
plcladderoption function. . You must specify at least
one Name argument or one name-value argument.
returns the parameter value for the ladder diagram model parameter specified by
currentState = plcladderoption(mdlName,Name=Value)Name when you do not specify a value for the
Value argument.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2019a
See Also
plcimportladder | plcgeneraterunnertb | plcgeneratecode | plcladderlib | plcloadtypes | plccleartypes