Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 

Deleting the Device Object

When the output task is completed and the device object is no longer needed, you should delete the device object to free memory and other physical resources. You can delete the analog output object with the delete command.

delete removes the device object from both the data acquisition engine and the MATLAB workspace. If this was the last object accessing the hardware, the associated hardware driver is closed and unloaded.

Note:
You cannot delete a device object using the command form of delete delete ao.



[ Previous | Help Desk | Next ]