User`s guide
obj2mfile
17-63
obj2mfile(obj,filename,syntax) converts obj to the equivalent MATLAB code
where syntax specifies how obj2mfile assigns values to properties of the object.
syntax can be either of the following text strings. The default value is enclosed in braces
({}).
String Description
{'set'} obj2mfile uses the set function when specifying property
values.
'dot' obj2mfile uses subscripted assignment (dot notation) when
specifying property values.
obj2mfile(obj,filename,syntax,mode) converts obj to the equivalent MATLAB
code where mode specifies which properties are configured. mode can be either of the
following strings. The default value is enclosed in braces ({}).
String Description
{'modified'} Configure writable properties that are not set to their default
values.
'all' Configure all writable properties. obj2mfile does not restore the
values of read-only properties.
Note that obj2mfile(obj,filename,mode) is a valid syntax. If the syntax argument
is not specified, obj2mfile uses the default value.
obj2mfile(obj,filename,syntax,mode,reuse) converts obj to the equivalent
MATLAB code where reuse specifies whether obj2mfile searches for a reusable video
input object or creates a new one. reuse can be either of the following strings. The
default value is enclosed in braces ({}).
String Description
{'reuse'} Find and modify an existing object, if the existing object is associated
with the same adaptor and the values of the DeviceID, VideoFormat,
and Tag properties match the object being created. If no matching object
can be found, obj2mfile creates a new object.
'create' Create a new object regardless of whether there are reusable objects.
Note that obj2mfile(obj,filename,reuse) is a valid syntax. If the syntax and
mode arguments are not specified, obj2mfile uses their default values.