imat_filt/set


Purpose

Set filter attributes.

Syntax

f=set(f,'Attrib',value)
set(f)
set(f,'Attrib')

Description

When applied to imat_filt objects, the SET function sets the values of selected attributes of f. The only available attribute is 'Name', the filter name. Attribute names are not case sensitive.

If SET is called with no attribute arguments, then all attribute names and their possible values are printed to standard output. This functionality acts as a built-in help mechanism for data attributes. (Note that in this case, the argument f is not referenced, but simply causes MATLAB to call the SET function associated with imat_filt objects.).

To change attribute values, you must either supply pairs of attribute names and values.

If only a single attribute is listed with no corresponding value, then the attribute is displayed along with the type of data allowed for the corresponding value.

If no attributes are specified, then the values of all attributes will be returned as described above.

An alternative way to set attributes is with the syntax f.attrib=value.

Examples

>> f.name='FRF';
>> set(f,'Name','FRF');
>> set(f)

    Name: [ string ]

>> set(f,'Name')
Name: [ string ]

See Also

imat_filt/imat_filt, imat_filt/get