Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

load

Load image acquisition object into MATLAB workspace

Syntax

load filename
load filename obj1 obj2 ...
S = load(filename,obj1,obj2,...)

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 specified by 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. 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 when loaded. For example, the Running property is restored to 'off'. Use propinfo to determine if a property is read only.

Examples

obj = videoinput('winvideo', 1);
obj.SelectedSourceName = 'input1'
save fname obj
load fname
load('fname', 'obj');

See Also

| |

Introduced before R2006a

Was this topic helpful?