Real-Time Windows Target | ![]() ![]() |
Failure to Connect to Target
Possible Problem -- When trying to connect to the target, the Simulation Errors dialog box displays
Solution -- This indicates that the model structure has changed since the last time code was generated. You must rebuild the real-time application. If your model fails to successfully build, we recommend that you delete .mk
and .obj
files from the Real-Time Workshop project directory, and then select Build from the Tools menu.
Possible Problem -- When trying to connect to the target, the Simulink diagnostic dialog box displays
Solution -- The Real-Time Windows Target Versions 1.0 and 1.5 used the MEX-file win_tgt
. For the Real-Time Windows Target Version 2.2, the MEX-file name was changed to rtwinext
. If you create a new Simulink model, the new filename is entered correctly. If you have Simulink models where you used the Real-Time Windows Target 1.0 or 1.5, you need to change the filename using the following procedure:
![]() | Compiler Error Message | Sample Time Too Fast | ![]() |