User`s guide
load
Purpose Load image acquisition object into MATLAB workspace
Syntax load filename
load filename obj1 obj2 ...
S = load(filename,ob j1,obj2,...)
Description load filename returns all variables from the MAT-file filename to
the MATLAB workspace.
load filename obj1 obj2 ... returns t he specified image acquisit ion
objects (
obj1, ob j2, etc.) from the MAT-file specified by filename to
the MATLAB workspace.
S = load(filename,ob j1,obj2,...) returns the structure S with
thespecifiedimageacquisition obje cts (
obj1, obj2,etc.) fromthe
MAT-file
filename. The field names in S match the names of the image
acquisition objects that were retrieved. If no objects are specified, then
all variables existing in theMAT-fileareloaded.
Values fo r read-only properties are restored to their default values when
loaded. For ex ample, the
Running property is re stored to 'off'.Use
propinfo to determine if a property is read only.
Examples obj = videoinput('win video', 1);
set(obj, 'Selected Sour ceName', 'input1')
save fname obj
load fname
load('fname', 'obj ');
See Also imaqhelp, propi nfo, save
12-36