フィルターのクリア

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 Center および File ExchangeBuild 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