External Interfaces |
Disconnecting a Serial Port Object
When you no longer need to communicate with the device, you should disconnect it from the serial port object with the fclose
function.
You can examine the Status
property to verify that the serial port object and the device are disconnected.
After fclose
is issued, the serial port associated with s
is available. You can now connect another serial port object to it using fopen
.
Disconnecting and Cleaning Up | Cleaning Up the MATLAB Environment |
© 1994-2005 The MathWorks, Inc.