필터 지우기
필터 지우기

Serial communication between Simulink and virtual COMM port

조회 수: 1 (최근 30일)
Srinath
Srinath 2014년 4월 2일
편집: Srinath 2014년 4월 2일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Run on Target Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by