Function File: set (obj, property,value)
Function File: set (obj, property,value,…)

Set the properties of modbus object.

Inputs

obj - instance of octave_modbus class.
property - name of property.

If property is a cell so must be value, it sets the values of all matching properties.

The function also accepts property-value pairs.

Properties

’Name’

Set the stored string name of the object.

’Timeout’

Set the timeout value.

’Numretries’

Set the numretries value.

’ByteOrder’

Set the byteorder value

’WordOrder’

Set the wordorder value

’UserData’

Set the userdata value

Outputs

None

See also: @@octave_modbus/get.

Package: instrument-control