Skip to Main Content Skip to Search
Product Documentation

rtIOStreamClose - Shut down communications channel with remote processor

Syntax

Arguments

streamID

A handle to the stream that was returned by a previous call to rtIOStreamOpen.

Description

int rtIOStreamClose(
    int streamID
)

Call this function to shut down the communications channel and clean up any associated resources.

A return value of zero indicates success. RTIOSTREAM_ERROR indicates an error.

RTIOSTREAM_ERROR is defined in rtiostream.h as:

#define RTIOSTREAM_ERROR (-1)

See Also

rtiostream_wrapper | rtIOStreamOpen | rtIOStreamRecv | rtIOStreamSend

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS