replicate Arduino's serial monitor on Scilab consol
问题 If I use the Arduino IDE's Serial monitor I can read the pair of comma separated values as below: I want to first replicate this behavior in SciLab terminal. I used the Serial Communication Toolbox: h = openserial(7, "9600,n,8,1") // open COM7 disp(readserial(h)) closeserial(h) which returns either empty or , 169 228, 179 228, 228, 205 228, 209 228, putting the disp(readserial(h)) in a while loop also doesn't help. Not only there are too many empty lines, if I stop the while loop it does not