|
|
【答案】应助回帖
★ ★ 爱与雨下(金币+2): 感谢应助~! 2011-08-10 14:18:29 norlon226(金币+30, 翻译EPI+1): 谢谢! 2011-08-11 19:36:48
|
In the semi-physical simulation system, the control of the real-time semi-physical simulation is conducted by the way of transforming the model into embedded code the by MATLAB real-time workshop (RTW) based on the simulink mathematical modeling.The other way of the interactive real-time simulation is by writing a C-is MEX documents and S-function for extending MATLAB/Simulink function call system multimedia timer to realize the sharing memory at a certain accuracy;Another way is by using the S-function of C language, sending and receiving data by sharing memory code, as well as the Windows message mechanism to directly realize real-time interaction between the simulation model and external program data in the MATLAB/Simulink environment for reaching a higher real-time simulation accuracy, etc. |
|