且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

MATLAB中的高速UDP接收器

更新时间:2023-02-04 20:16:42

如果您了解Java,则可以在Java类中编写代码的网络部分,使用javaclasspath()将其加载到Matlab会话中,然后从中调用它们M代码.这可能会将问题从通过Matlab的udp()函数获取数据转变为跨Java/Matlab边界获取数据.

If you know Java, you can write the networking part of your code in Java classes, load those into your Matlab session with javaclasspath(), and invoke them from M-code. This could transform the problem from getting the data through Matlab's udp() function to getting the data across the Java/Matlab boundary.