| OPC Toolbox™ | ![]() |
load FileName
load FileName Obj1 Obj2 ...
S = load('FileName','Obj1','Obj2',...)
load FileName returns all variables from the MAT-file, FileName, into the MATLAB® workspace.
load FileName Obj1 Obj2 ... returns the specified OPC Toolbox objects, Obj1, Obj2, ... from the MAT-file, FileName, into the MATLAB workspace.
S = load('FileName','Obj1','Obj2',...) returns the structure, S, with the specified toolbox objects, Obj1, Obj2, ... from the MAT-file, FileName, instead of directly loading the toolbox objects into the workspace. The field names in S match the names of the toolbox objects that were retrieved. If no objects are specified, then all variables existing in the MAT-file are loaded.
Values for read-only properties will be restored to their default values upon loading. For example, the Status property of an opcda object will be restored to 'disconnected'. You use propinfo to determine if a property is read-only.
![]() | isvalid | makepublic | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |