Borrar filtros
Borrar filtros

Serial communication between Simulink and virtual COMM port

1 visualización (últimos 30 días)
Srinath
Srinath el 2 de Abr. de 2014
Editada: Srinath el 2 de Abr. de 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

Respuestas (0)

Categorías

Más información sobre Run on Target Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by