Troubleshoot Slow or Halted Simulation on Windows
On my Windows® system, during software installation and when I try to run real-time simulation, I see this warning message:
The Hyper-V hypervisor has been detected. The Simulink Desktop Real-Time kernel cannot run in the presence of the hypervisor. Please disable the Hyper-V operating system component before attempting to use Simulink Desktop Real-Time.
Or, on releases previous to R2022a, I see slow or halted simulation on my Windows system. Simulation fails with an error message:
Warning: The "Real-Time Synchronization" block has timed out while trying to synchronize to real-time kernel.
What This Issue Means
This message indicates that the system could not load and start the kernel due to Microsoft® virtualization.
Try This Workaround
To identify the cause of the issue, in the Command Window, type:
Examine the system information from these commands. Check whether the last line is:
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
The Windows Hyper-V feature and other Microsoft virtualization features are not compatible with the Simulink® Desktop Real-Time™ kernel. You cannot use Microsoft virtualization with the real-time kernel. To disable Hyper-V and other Microsoft virtualization features:
From the Start menu, search for Turn Windows features on or off.
Select Turn Windows features on or off.
Clear the boxes for features:
Virtual Machine Platform
Windows Hypervisor Platform
Windows Subsystem for Linux
After the uninstall process completes, restart the computer as prompted.