Name

RTC_registerInPort — Append InPort to RT-component. This function will be vanish. Please use RTC_addInPort instead.

Calling Sequence

port=RTC_registerInPort(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_registerInPort(rtc, "TimedDouble", "in0");

See Also

Authors

Yuki Suga (ysuga.net)