In MATLAB R2022b and earlier, the Simulink Desktop Real-Time (SLDRT) kernel is not compatible with Microsoft® Hyper-V or any features that rely on Microsoft virtualization technology. If Hyper-V is enabled, SLDRT cannot load and start the real-time kernel, and you will see error messages indicating this failure. Disabling Hyper-V is mandatory when using MATLAB R2022b or prior versions.
Starting with MATLAB R2023a and later, the SLDRT kernel includes support for Hyper-V. However, this does not guarantee full compatibility on all systems. In some cases, SLDRT may still fail to run correctly when Hyper-V is enabled. If you encounter issues such as halts, crashes, or kernel load failures, you should disable Hyper-V as a troubleshooting step, even on newer releases.
How to disable Hyper-V:
Disable Hyper-V on your Windows PC by performing the following steps:
1. Find Turn Windows features on or off by using Windows search.
2. Clear the boxes for the following features:
- Hyper-V
- Virtual Machine Platform
- Windows Hypervisor Platform
- Windows Subsystem for Linux
This operation begins the uninstall process.
3. Restart the computer as prompted after the uninstall process completes.
Further Troubleshooting:
If the above steps don't help, please see the following MATLAB Answers post for troubleshooting steps: