检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机仿真》2006年第3期5-7,136,共4页Computer Simulation
摘 要:该文通过对实时交互仿真的研究,提出了一种实现Simulink仿真模型与外部Windows程序仿真模型实时交互的方法。该方法通过在S-函数的样板中加入使用共享内存的程序代码完成收发数据;然后编写能读写共享内存的外部程序进行数据读写;同时利用Windows消息机制协调仿真同步并实现仿真的实时性。基于上述方法,实现了Simulink仿真模型与外部Windows程序仿真模型的实时数据交互。仿真结果表明该方法能实现实时并获得较好的准确性,为实现Simulink仿真模型的重用及与其它仿真模型的实时交互提供了新的解决方案。A new way of implementing real time interaction between Simulink and Windows program simulation model is proposed through some research on real time interactive simulation. Through adding program code in S - Function template, data is sent and received , and then writing extra programs which can use shared memory to receive and send the data. Meanwhile, Windows message is used to implement synchronization and real time of the simulation. Based on the above mentioned method, the real time interaction between Simulink and extra Windows program is implemented. Simulation results show that the method could implement real time and obtain better accuracy. A new way is provided to implement reuse and real time interaction with other simulation model of Simulink model.
分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.19.55.254