检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]国防科技大学机电工程与自动化学院,湖南长沙410073 [2]国防科技大学计算机学院,湖南长沙410073
出 处:《系统仿真学报》2006年第2期335-337,400,共4页Journal of System Simulation
摘 要:介绍已有的在HLA仿真中重用MATLAB模型的各种方法,并分析了各种方法的优缺点,然后提出新的将Simulink模型用于HLA仿真的方法,即在模型中加入RTI接口模块,模型通过接口模块与RTI通信,当模型在Simulink环境中测试正确后,再使用Real-TimeWorkshop生成C++代码提高运行效率。文章接着介绍RTI接口模块的实现技术,包括S-Function,数据的类型映射与打包解包,代码生成,RTI接口模块的自动生成等,最后对用RTI接口模块开发的联邦成员的运行效率进行了对比分析。Several implementation of reusing MATLAB models in HLA simulation was described, and their advantage and disadvantage were analyzed, and then a new method using Simulink models in HIM simulation was proposed, that is adding the RTI interface blocks to Simulink model. Simulink model could communicate with RTI via the interface blocks. After the model was tested successfully, it could also generate C++ code using Real-Time Workshop, and this made the model run more effective. Then the development technology of RTI interface blocks was described, which included S-Function, data type mapping and data pack/unpack, code generation, RTI interface block auto generation, etc. At last, the run-time efficiency of federate program that was developed using RTI interface blocks was given through comparisons and analyses.
关 键 词:SIMULINK HLA RTI 模型重用 代码生成
分 类 号:TP391.1[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.3