Why do I receive a warning about indexing a scalar function handle when using Data Acquistion Toolbox 2.6 (R14SP2)?
Show older comments
I am using the Data Acquisition Toolbox to create and configure a device object for acquisition. Upon issuing a command to set the property of my device object, I receive the following warning:
Warning: To support parenthesis notation for invocation, "indexing" a scalar
function handle by ":" will continue to work in R14, but may be illegal or may
work differently in R15. To prepare for R15, and to avoid this warning,
use cell arrays of function handles instead of arrays. For more information,
type 'help function_handle' and see the section at the end entitled
Note on Backward Compatibility.
In daq\private\privateUDDToMATLAB>localIsHandle at 92
In daq\private\privateUDDToMATLAB>localUDDToMATLAB at 50
In daq\private\privateUDDToMATLAB at 42
In daq\private\privateUDDToMATLAB at 36
In daqgate at 21
In daqdevice.get at 73
In daqdevice.set at 87
In <myFunction> at <myLineNumber>
Accepted Answer
More Answers (0)
Categories
Find more on Configure Simulation Conditions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!