<< RTC RTC RTC_addOutPort >>

RTCscilab >> RTComponent > RTC > RTC_addInPort

RTC_addInPort

Append InPort to RT-component

Calling Sequence

port=RTC_addInPort(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 DataInPort. Nevative value if fail.

Description

This function append DataInPort to the RTC.

Examples

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

port = RTC_addInPort(rtc, "TimedDouble", "in0");

See Also

Authors

<< RTC RTC RTC_addOutPort >>