rtIOStreamClose
Shut down communications channel
Description
Examples
Close Communications Channel
This code from rtiostreamtest.c detects errors when closing the
communications channel.
static int closeServer(void) { const int errorOccurred = rtIOStreamClose(streamID); if (errorOccurred == RTIOSTREAM_ERROR) { return errorOccurred; } return RTIOSTREAM_NO_ERROR; }
Input Arguments
Output Arguments
Version History
Introduced in R2009a
See Also
rtIOStreamOpen | rtIOStreamSend | rtIOStreamRecv | rtiostream_wrapper