Main Content

set

Set rffilter object property values

Description

set(rfobj,'propertyname',propertyvalue) sets the propertyname and the propertyvalue for the RF filter object with object handle rfobj.

set(rfobj,pn,pv) sets the properties given in the cell array pn to the values given in the cell array pv for the RF filter object with object handle rfobj.

set(rfobj,a) sets each rf filter properties names with values contained in the structure a.

a1 = set(rfobj,propertyname) returns and displays the possible values for the propertyname.

a2 = set(rfobj) returns and displays the names of the user-settable properties and their possible values for the RF filter object with object handle rfobj.

Input Arguments

collapse all

RF filter object, specified as a rffilter object handle.

User-settable filter property name, specified as a character vector or string.

Example: set(rfobj,'FilterType','Butterworth'). Sets the 'FilterType' property of RF filter, rfobj, to 'Butterworth'.

Data Types: char | string

Property value, specified as a scalar.

Example: set(rfobj,'FilterType','Butterworth'). Sets the 'FilterType' property of RF filter, rfobj, to 'Butterworth'.

Data Types: double | char | string

List of object property names and property values, specified as a structure.

Data Types: struct

User-settable property names, specified as a 1-by-N cell array.

Example: set(rfobj,{'FilterType','Implementation'},{'Butterworth','LC Pi'}). Sets the 'FilterType' and 'Implementation' properties of RF filter, rfobj, to 'Butterworth' and 'LC Pi' respectively.

Data Types: char | string

Property values, specified as a 1-by-N cell array.

Example: set(rfobj,{'FilterType','Implementation'},{'Butterworth','LC Pi'}). Sets the 'FilterType' and 'Implementation' properties of RF filter, rfobj, to 'Butterworth' and 'LC Pi' respectively.

Data Types: double | char | string

Output Arguments

collapse all

Possible values of the specified property name, returned as a cell array of possible value strings or an empty cell array if the property does not have a finite set of possible string values.

User-settable property names and their values, returned as a structure of property names and arrays of their possible values. Values can be cell array of possible value strings or an empty cell array if the property does not have a finite set of possible string values.

Version History

Introduced in R2018b

See Also