Tomeet the objectives of parallel multi-instance model in simulation system C++ and Matlab hybrid programming to bulid mobile model is proposed. The problem of data confusion that appears in the model runs multiple instances which mobile based on Matlab Function is analysised. This paper suggests a way of Map-based approach to data management in function run.%针对仿真系统中对机动模型的多实例并行需求,提出基于C++和Matlab混合编程的方式进行模型开发.就Matlab Function实现的功能函数在多实例运行过程中将出现的数据混用问题,在分析Matlab数据管理调用方式的基础上,提出基于Map的数据管理方法实现不同对象实例数据,并完成了模型开发.
展开▼