필터 지우기
필터 지우기

Dynamic port numbers with UDP()

조회 수: 1 (최근 30일)
MPan
MPan 2020년 9월 8일
편집: MPan 2020년 9월 8일
Hi,
I have an application written in MATLAB on one PC that is communicating to a C++ application on another PC over ethernet using the udp() function in MATLAB. The C++ application sends/receives a handful of specific messages over the network with each message being allocated its own port number. I'm looking to understand if it is possible to create only one instance of the udp() function in my MATLAB script and dynamically change the port numbers when sending/receiving messages when communicating with the C++ application?
Any help is appreciated. Thanks

답변 (0개)

카테고리

Help CenterFile Exchange에서 Build MATLAB Interface to C++ Library에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by