Code generation of simulink models in the hardware-in-loop simulation

Li Qiang,Wang Mingang,Yang Yao
DOI: https://doi.org/10.19651/j.cnki.emt.2009.02.009
2009-01-01
Abstract:The hardware-in-the-loop simulation plays an important role in the research and design process for guided weapons.To satisfy the real-time design requirement of certain missile hardware-in-the-loop simulation system,The way that how to use the capability of Matlab/Simulink in code generation to convert the models constructed by Simulink to target language models is introduced,which not only avoids the problem of low simulation speed of the model in Matlab/Simulink circumstance,but also makes it very easy in making programs to construct target language models.The actual applications have proved that the Simulink model can be applied to the hardware-in-the-loop simulation system conveniently and rapidly based on the auto-generation of code,the development period is shorten,and the flexibility and reliability of the simulation system are enhanced.
What problem does this paper attempt to address?