实时控制对象为倒立摆,在simulink里建模相应接口接受实物倒立摆信息,发出控制信号进行实时控制。<BR><BR>错误提示为:
<P 0cm 0cm 0pt"><FONT face="Times New Roman">Error executing build command: Error using ==> make_rtw</FONT></P>
<P 0cm 0cm 0pt"><FONT face="Times New Roman">Error using ==> rtw_c</FONT></P>
<P 0cm 0cm 0pt"><FONT face="Times New Roman">Error(s) encountered while building model "l2diplqr"<BR><BR><BR>当去掉c-mex的S函数中的tanh函数时,实时控制编译后没错误。</FONT></P>