why tcpserver is not part MATLAB ? Why do I need to purchase instrument control toolbox ?
9 ビュー (過去 30 日間)
古いコメントを表示
I was surprised to see the basic tcpserver functionality is not accessible in base MATLAB.
What is so special about it, that one needs to purchase toolbox for it.
Is there a way to use tcpserver in matlab without instrument control toolbox.
0 件のコメント
採用された回答
Walter Roberson
2023 年 2 月 6 日
To be honest, I do not know why Mathworks made this decision. Earlier both tcp server and client were Instrument Control only, but when they rewrote they made tcpclient() available to regular matlab. Considering that functions such as websave() and ftp() and restful services access is part of regular matlab it would not be defendable to say that tcp requires advanced functionality. But I don't understand why tcpserver requires a different toolbox.
The workaround is to look in file exchange for tcpudpip contribution which uses an external library.
3 件のコメント
Walter Roberson
2023 年 2 月 7 日
You can call upon Java socket methods
https://www.codejava.net/java-se/networking/java-socket-server-examples-tcp-ip
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Instrument Control Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!