Products & Services Solutions Academia Support User Community Company

Learn more about Data Acquisition Toolbox   

Getting Command-Line Function Help

To get command-line function help, you should use the daqhelp function. For example, to get help for the addchannel function, type

daqhelp addchannel

Alternatively, you can use the help command.

help addchannel

However, the Data Acquisition Toolbox software provides "overloaded" versions of several MATLAB functions. That is, it provides toolbox-specific implementations of these functions using the same function name. To get command-line help for an overloaded toolbox function using the help command, you must supply one of two possible class directories to help:

help daqdevice/function_name
help daqchild/function_name

Note that the same help information is returned regardless of the class directory specified.

For example, the Data Acquisition Toolbox software provides an overloaded version of the delete function. To obtain help for the MATLAB version of this function, type

help delete

You can determine if a function is overloaded by examining the last section of the help. For delete, the help contains the following overloaded versions (not all are shown):

Overloaded methods
help char/delete.m
help scribehandle/delete.m
help daqdevice/delete.m
help daqchild/delete.m

So, to obtain help on the toolbox version of this function, type

help daqdevice/delete
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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