摘要
为解决某火炮动态精度试验数据处理任务急需,综合Matlab和C两种编程语言的优势,采用MEX文件实现Matlab和C混合编程的方法,通过在Matlab中调用解弹道积分和目标解相遇两个C程序模块,高效方便地完成了火炮动态精度试验数据处理软件的开发。测试和应用结果表明该方法可以显著提高编程效率、程序代码复用率和程序执行效率,具有很强的应用参考价值。
In order to fulfill the urgent task of gun dynamic accuracy test data processing,the mixed programming method was realized with MEX file by compositing the advantages of the Matlab and C programming language. The development of the gun dynamic accuracy test data processing software was achieved efficiently and easily by calling two C program modules for solution trajectory integral and meeting solution. The testing and application results show that this method can improve the efficiency of programming,program code reuse rate and the execution efficiency,and it has a strong reference value for application.
出处
《现代电子技术》
2014年第21期35-37,共3页
Modern Electronics Technique