On Windows platform, the issue is likely to be related to the fact that Hyper-V is enabled.
In order to check this, execute the following command from the MATLAB Command Window:
If Hyper-V is enabled, it will be displayed at the bottom line of the output of the above command:
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
In R2022b and prior, the Simulink Desktop Real-Time (SLDRT) kernel is not compatible with Hyper-V or any features that use Microsoft virtualization technology.
Try this workaround:
One option is to upgrade to MATLAB R2023a where the limitation of SLDRT being incompatible with Hyper-V was removed.
Alternatively, try to 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 box 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: