Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 
load    See Also

Load device objects into the MATLAB workspace.

Syntax

load file

load file, obj1, obj2,. . .

struct = load('file', 'obj1', 'obj2',. . .)

Description

load file returns all variables from the MAT-file file into the MATLAB workspace.

load file, obj1, obj2,. . . returns the specified device objects from the MAT-file file into the MATLAB workspace.

struct = load('file', 'obj1', 'obj2',. . .) returns the specified device objects from the MAT-file file as a structure to struct instead of directly loading them into the workspace. The field names in struct match the names of the device objects that were retrieved. If no objects are specified, then all variables existing in the MAT-file are loaded.

Note:
load is not used to read in previously acquired data. You should use daqread for this purpose.

See Also

Functions

daqread, save



[ Previous | Help Desk | Next ]