Filter löschen
Filter löschen

Serial communication between Simulink and virtual COMM port

1 Ansicht (letzte 30 Tage)
Srinath
Srinath am 2 Apr. 2014
Bearbeitet: Srinath am 2 Apr. 2014
Hi
I want to send Serial data from Simulink to a program that will run on the same linux machine. So i installed socat and type the following command
$ socat -d -d pty,raw,echo=0 pty,raw,echo=0 socat[28162] N PTY is /dev/pts/6 socat[28162] N PTY is /dev/pts/7 socat[28162] N starting data transfer loop
However simulink's serialSend block doesn't list these virtual serial ports in it's dropDown menu I even tried symbolic linking one of the virtual ports to /dev/ttyUSB0 But not luck. Simulink serialSend refuses to detect it.
Why?
I am able to send data to Arduino without a problem

Antworten (0)

Kategorien

Mehr zu Run on Target Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by