摘要
为了解决Simulink与VC++的数据交互问题,提出了采用C++语言S-函数实现两种开发环境的网络通信方法。首先介绍了S-函数以及基于S函数的编程框架,其次介绍了UDP网络程序设计模型。最后结合实例说明并验证了该方法的有效性和实用性。
In order to solve the problem of data interaction between the Simulink and Visual C++, a network communica- tion method utilized the S-function of C++ language to realize the two developing environment. The S-function, the programming framework based on it and the design model of UDP network programming are introduced, the effectiveness and the practicability of this method are proved with examples.
出处
《现代电子技术》
2013年第13期108-111,共4页
Modern Electronics Technique