Matlab-Real-Time
使用C++与Simulink Desktop Real-Time™通信的示例代码™, 使用了UDP协议。在C++中使用了WinSock2。
A sample code in C++ for communication with Simulink Desktop Real-Time™ using UDP. WinSock2 is used in C++.
可能的用途是使用第三方硬件并使用Matlab对其进行控制。
Possible use can be using a third-party hardware and controlling it using Matlab.
首先,编制项目。
然后,在Matlab Simulink中运行“sldrtex_packetio.slx“。
Usage
First, compile the project.
Second, run “sldrtex_packetio.slx” in Matlab Simulink.
更多精彩文章请关注公众号: