Help Center
Set values for properties of a System object
set(obj,property,value)
set(obj,property,value) sets the values of specified properties of a System object™. You can set values of multiple properties by specifying them as name value pairs.
obj
property
value
example
collapse all
Use set to set the properties of the specified System object.
Create a Counter object. Refer to the example in setup for the class definition of counter.
Counter
setup
counter
obj = Counter;
Use set to set the properties UseIncrement and UseWrapValue of obj.
UseIncrement
UseWrapValue
propState = set(obj,'UseIncrement',false,'UseWrapValue','false')
System object handle used to access properties, states, and methods specific to the object.
Name of the property to be set.
Data Types: char | string
char
string
Value to be set for the specified property.
Introduced in R2012b
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other bat365 country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office