Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 

Deleting the Device Object

When the data acquisition task is completed and the device object is no longer needed, it should be deleted to free the memory and other physical resources. You can delete a device object with the delete command.

The delete function 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 object



[ Previous | Help Desk | Next ]