Main Content

delete

Delete real-time instrument object

Since R2020b

Description

example

delete(instrument_object) deletes a real-time instrument object.

Examples

collapse all

Delete instrument object hInst. If the instrument object is streaming data from a real-time application, stop streaming and delete the instrument object.

% previously . . .
% . . . created a target object
% . . . loaded/started an application on target
% . . . created an instrument object  
% . . . optionally streamed data by using instrument object 
delete(hInst)

Input Arguments

collapse all

To create the instrument object, use the Instrument function.

Example: hInst

Version History

Introduced in R2020b