DeviceClose
This feature is not supported on the Wolfram Cloud.

DeviceClose[device]
closes the connection to a device, and frees related resources.

DetailsDetails

  • Devices are represented by a DeviceObject or by a string giving the name of a device class.
  • DeviceClose closes any open streams to and from the device, and releases external resources associated with the device.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Open a demo device:

In[1]:=
Click for copyable input
Out[1]=

Close the device:

In[2]:=
Click for copyable input

Close a device by giving its string class name:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Introduced in 2014
(10.0)