rtIOStreamOpen
Initialize communications channel
Description
Examples
Initialize Communications Channel
This code from rtiostreamtest.c
initializes a communication stream
and checks for errors.
static int openServer(int rtArgc, void * rtArgv []) { streamID = rtIOStreamOpen(rtArgc, rtArgv); if (streamID == RTIOSTREAM_ERROR) { return streamID; } return RTIOSTREAM_NO_ERROR; }
Input Arguments
Output Arguments
Version History
Introduced in R2009a
See Also
rtIOStreamSend
| rtIOStreamRecv
| rtIOStreamClose
| rtiostream_wrapper