Possible Problem — When trying to run a model, the Simulation Errors dialog box displays:
Error occurred while executing External Mode MEX-file
'sldrtext': Incorrect version
Solution — This message indicates that the Simulink®
Desktop Real-Time™ kernel is out of date. Type
rtwho at the MATLAB® prompt. If you see a message like this message, install the current
Incorrect kernel version is installed. Use 'sldrtkernel -setup' to install the correct version.
Possible Problem — When trying to connect to the target, the Simulation Errors dialog box displays:
Checksum mismatch. Target code needs to be rebuilt.
Solution — This message indicates that the model structure
has changed since the last time code was generated. Rebuild the real-time
application. If your model fails to build, delete the
from the Simulink
Coder™ project folder, and then select Build from
the Tools menu.