setProperties
Class: matlab.System
Set property values using name-value pairs when creating System object
Syntax
setProperties(obj,numArgs,name1,value1,name2,value2,...)
setProperties(obj,numArgs,arg1,...,argN,propValName1,...propValNameN)
Description
setProperties(
provides the name-value pair inputs to the System object™ constructor. Use this syntax if every input must specify both name and value. obj
,numArgs
,name1
,value1
,name2,value2,...)
setProperties(
provides the value-only inputs, which you can follow with the name-value pair inputs to the
System object during object construction. Use this syntax if you want to allow users to
specify one or more inputs by their values only.obj
,numArgs
,arg1,...,argN
,propValName1,...propValNameN
)
Input Arguments
Examples
Version History
Introduced in R2011b