This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Disconnect and delete all instrument objects




instrreset disconnects and deletes all instrument objects.


If data is being written or read asynchronously, the asynchronous operation is stopped.

instrreset is equivalent to issuing the stopasync (if needed), fclose, and delete functions for all instrument objects.

When you delete an instrument object, it becomes invalid. Because you cannot connect an invalid object to the instrument, you should remove it from the workspace with the clear command.

Introduced before R2006a

Was this topic helpful?