<< RTC_addInPort RTC RTC_create >>

RTCscilab >> RTComponent > RTC > RTC_addOutPort

RTC_addOutPort

Append OutPort to RT-component

Calling Sequence

port=RTC_addOutPort(rtc, type, name)

Parameters

rtc

Handle value of RT-component. Negative value if fail.

type

String. Type-Name of DataPort. RTC-scilab is currently available for "TimedLong", "TimedLongSeq", "TimedFloat", "TimedFloatSeq", "TimedDouble", "TimedDoubleSeq", "TimedBoolean", and "TimedBooleanSeq".

name

String. Name of DataPort.

port

Handle value of DataOutPort. Nevative value if fail.

Description

This function append DataOutPort to the RTC.

Examples

initRTM("Scilab");
rtc = RTC_create();

port = RTC_addOutPort(rtc, "TimedDouble", "out0");

See Also

Authors

<< RTC_addInPort RTC RTC_create >>