Azzera filtri
Azzera filtri

Serial communication between Simulink and virtual COMM port

1 visualizzazione (ultimi 30 giorni)
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

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by