| Image Acquisition Toolbox | ![]() |
Load an image acquisition object into the MATLAB workspace
Syntax
Description
load filename
returns all variables from the MAT-file filename to the MATLAB workspace.
load filename obj1 obj2 ...
returns the specified image acquisition objects (obj1, obj2, etc.) from the MAT-file filename to the MATLAB workspace.
S = load('filename','obj1','obj2',...)
returns the structure S with the specified image acquisition objects (obj1, obj2, etc.) from the MAT-file filename instead of directly loading the image acquisition objects into the workspace. 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 the MAT-file are loaded.
Values for read-only properties are restored to their default values upon loading. For example, the Running property is restored to 'off'. Use propinfo to determine if a property is read only.
Examples
obj = videoinput('winvideo', 1); set(obj, 'SelectedSourceName', 'input1') save fname obj load fname load('fname', 'obj');
See Also
| isvalid | peekdata | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |