摘要
在实时应用中 ,对时间的要求比较严格。在RTW中 ,如果只使用非内嵌S函数常常不能满足要求 ,尤其在使用驱动程序时要和硬件交互 ,就需要使用内嵌式S函数。该文介绍了在Rtlinux中应用MATLABRTW生成的实时程序时 ,怎样利用S函数和TLC开发驱动程序并将其内嵌入RTW的生成码。它的优点是节约内存 。
In real-time applications, time is limited. When we use non-inlined S functions in RTW especially S functions of drivers for hardware,we are not satisfied .Now we can use inlined S functions to kill the function calls of them.It is introduced here that how to develop drivers with S functions and inline them into the codes created by MATLAB RTW with TLC under Rtlinux.
出处
《计算机仿真》
CSCD
2003年第3期85-87,91,共4页
Computer Simulation