Using TCP Receive for interaction with c++ app

조회 수: 1 (최근 30일)
alex oerl
alex oerl 2017년 10월 23일
I create model where I create "tcp receive" & "tcp send" blocks. Between them I insert sin-block. After I connect to receive element I send single value. But when I try read data I receive continuos last value. I set model time to "inf". When I send to model new value I receive new answer but also read this value continuos, whithout end. How can I build interaction with model on trigger base model:
cpp -> send data -> model receive new data -> send new answer -> wait for new input data
Thank you, Regards

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by