release
(Not recommended) Release session hardware resources
This session
object function is not recommended. Use DataAcquisition
object functions instead. See Compatibility Considerations.
Syntax
Description
release(
releases all reserved
hardware resources in the session s
)s
, and flushes any data you
have queued in the hardware in that session.
A session might reserve exclusive access to the hardware associated with it. If
you need to use the hardware in another session or by applications other than
MATLAB®, use release(s)
to unreserve the hardware and clear
its data.
Hardware resources associated with a session are automatically released when you delete the session object or assign a different value to the variable containing the session object.