Start device object
Note: You cannot use the legacy interface on 64-bit MATLAB®. See About the Session-Based Interface to acquire and generate data on a 64-bit MATLAB.
A device object or an array of device objects.
the execution of the device object
start is issued for an analog input
or analog output object,
The callback function specified for
Running property is set to
The start event is recorded in the
Data existing in the engine is flushed.
Although an analog input or analog output object might be executing,
data logging or sending is not necessarily initiated. Data logging
or sending requires a trigger event to occur, and depends on the
For any device object, you can specify
the value for a callback property.
ai.StopFcn = @start;
You typically execute a digital I/O object to periodically update
and display its state. Refer to the
If you want to synchronize the input and output of data, or
you require more control over when your hardware starts, you should