Function Reference


Object Creation and Configuration FunctionsCreate and configure the objects that provide access to OPC servers
Server Exploration FunctionsExplore server name space, tag properties, and server configuration information
Data Access FunctionsRead data from OPC server synchronously or asynchronously, or through server-initiated events; write data to OPC server synchronously or asynchronously
OPC Data Visualization FunctionsVisualize live OPC data
Logging and Buffering FunctionsLog data provided by OPC data access servers to disk and/or memory; and read logs
Simulink® Support FunctionsCreate Simulink® blocks from MATLAB® group objects
General FunctionsManage OPC Toolbox™ objects and connections to OPC servers; get help on using OPC Toolbox™ software

Object Creation and Configuration Functions

addgroupAdd data access group to opcda object
additemAdd data access items to dagroup object
clonegroupClone group into new private group on same client
connectConnect opcda object to server
copyobjMake copy of OPC Toolbox™ object
deleteRemove OPC Toolbox™ objects from memory
disconnectDisconnect opcda object from server
dispSummary of information for OPC Toolbox™ objects
getOPC Toolbox™ object properties
isvalidTrue for OPC Toolbox™ objects that are not deleted
makepublicConvert private group into public group
opcdaConstruct OPC data access object
removepublicgroupRemove public group from server
setConfigure or display OPC Toolbox™ object properties

Server Exploration Functions

flatnamespaceFlatten hierarchical OPC name space
getnamespaceOPC server name space
opcserverinfoVersion, server, and status information
serveritempropsProperty information for items in OPC server name space
serveritemsQuery server or name space for fully qualified item IDs

Data Access Functions

cancelasyncCancel asynchronous read and write operations
readRead data synchronously from OPC groups or items
readasyncRead data asynchronously from group or items
refreshRead all active items in group
writeWrite values to group or items
writeasyncAsynchronously write values to group or items

OPC Data Visualization Functions

trendDisplay graphical trend of OPC data for group

Logging and Buffering Functions

flushdataRemove all logged data associated with dagroup object
getdataLogged records from OPC Toolbox™ software engine to MATLAB® workspace
opcreadRead logged records from disk to MATLAB® workspace
opcstruct2arrayConvert OPC data from structure to array format
opcstruct2timeseriesConvert OPC data from structure to time series format
peekdataPreview most recently acquired data
startStart a logging task
stopStop a logging task
waitSuspend MATLAB® execution until object stops logging

Simulink® Support Functions

genslreadGenerate Simulink® OPC Read block from MATLAB® group object
genslwriteGenerate Simulink® OPC Write block from MATLAB® group object

General Functions

cleareventlogClear event log, discarding all events
loadLoad OPC Toolbox™ objects from MAT-file
obj2mfileConvert OPC Toolbox™ object to MATLAB® code
opccallbackEvent information for OPC Toolbox™ software callbacks
opcfindFind OPC Toolbox™ objects with specific properties
opchelpHelp for OPC Toolbox™ software function or property
opcqidConstruct quality ID from item's quality string
opcqpartsExtract quality parts from OPC quality ID
opcqstrConvert OPC quality ID into readable string
opcregisterInstall and register OPC Foundation Core Components
opcresetDisconnect and delete all OPC Toolbox™ objects
opcsupportRun OPC Toolbox™ software troubleshooting utility
opctoolOpen OPC Tool GUI
openosfOpen OPC Tool GUI session file
propinfoProperty information for OPC Toolbox™ objects
saveSave OPC Toolbox™ objects to MAT-file
showopceventsEvent log summary for OPC Toolbox™ software events
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS