Write Data to OutPort
ret=OutPort_write(port, data)
Handle value of Outport.
vector.
Negative value if failed.
This function write user's data to OutPort.
Matrix data is written in the order as follows:
Matrix Sequence |1 4 7| |2 5 8| |3 6 9| ----------- DataOutPort ---------- [1 2 3 4 5 6 7 8 9]
initRTM("Scilab"); rtc = RTC_create(); port = RTC_registerOutPort(rtc, "TimedDoubleSeq", "out0"); OutPort_write(port, [1,4,7;2,5,8;3,6,9]);