RTC_registerInPort — Append InPort to RT-component. This function will be vanish. Please use RTC_addInPort instead.
port=RTC_registerInPort(rtc, type, name)
Handle value of RT-component. Negative value if fail.
String. Type-Name of DataPort. RTC-scilab is currently available for "TimedLong", "TimedLongSeq", "TimedFloat", "TimedFloatSeq", "TimedDouble", "TimedDoubleSeq", "TimedBoolean", and "TimedBooleanSeq".
String. Name of DataPort.
Handle value of DataInPort. Nevative value if fail.
initRTM("Scilab"); rtc = RTC_create(); port = RTC_registerInPort(rtc, "TimedDouble", "in0");