Troubleshoot sldrtext Incorrect Version Error

When I try to run a Simulink® Desktop Real-Time™model in external mode, the Simulation Errors dialog box displays:

Error occurred while executing External Mode MEX-file 'sldrtext': Incorrect version

What This Issue Means

This message indicates that the Simulink Desktop Real-Time kernel could be out-of-date.

Try This Workaround

To check the real-time kernel version, in the Command Window, type rtwho. If the real-time kernel is out-of-date, you see a message similar to:

Incorrect kernel version is installed.
Use 'sldrtkernel -setup' to install the correct version.

To resolve this issue, install the current version of the real-time kernel. :

Related Topics