<< RTC_registerInPort RTC xcos >>

RTCscilab >> RTComponent > RTC > RTC_registerOutPort

RTC_registerOutPort

Append OutPort to RT-component. This function will vanish in the future. Please use RTC_addOutPort instead.

Calling Sequence

port=RTC_registerOutPort(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_registerOutPort(rtc, "TimedDouble", "out0");

See Also

Authors

<< RTC_registerInPort RTC xcos >>