How do I troubleshoot issues with disabling the Windows Hyper-V feature for Simulink Desktop Real-Time?

I tried to turn the Hyper-V feature off in Windows by following the steps in this MATLAB answer:
However, my Simulink Desktop Real-Time simulation still doesn't work. How can I resolve this issue?

 Accepted Answer

NOTE: The limitation regarding Simulink Desktop Real-Time (SLDRT) and Hyper-V was removed in version R2023a. Upgrade MATLAB to R2023a or later to test if SLDRT works in the presence of Hyper-V on your system. Upgrade to R2026a to test the new Priority Mode.
Try the following steps to disable Hyper-V:
1) Restart PC: Make sure that you have restarted the computer after disabling the Hyper-V settings in the Windows feature list.
2) Repeat Steps: After the restart, run the "systeminfo" command from Windows Command Prompt (CMD) or from MATLAB:
>> !systeminfo
In case Hyper-V is still enabled, you will see the following output:
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
Repeat the steps from the MATLAB Answer to disable Hyper-V:
Make sure that you have disabled all features that use Microsoft virtualization technology, for example:
  • Hyper-V
  • Virtual Machine Platform
  • Windows Hypervisor Platform
  • Windows Subsystem for Linux
Make sure to restart your computer again.
3) Disable Core Isolation: Make sure that the Windows feature "Core Isolation Memory Integrity" is disabled, which relies on Hyper-V and is incompatible with SLDRT: See also: Why do I get a "Core isolation memory integrity" error when starting my Simulink Desktop Real-Time simulation?
4) BIOS Settings: Some of our customers reported that disabling Intel or AMD Virtualization support in the BIOS resolved the issue. See the following link for more info regarding Intel Virtualization:
5) Contact your IT helpdesk: We are aware of cases where disabling Hyper-V will not work, even after multiple attempts, and the Hyper-V feature will still be shown as enabled by "systeminfo". In this case, contact your IT helpdesk to identify the software or features on your PC that prevent Hyper-V deactivation, or upgrade MATLAB to version R2023a, where this limitation regarding SLDRT and Hyper-V was removed.
IMPORTANT NOTE: If your company's IT policies do not allow disabling Hyper-V, then you will not be able to use Simulink Desktop Real-Time (versions R2022b or prior) on this machine. We recommend talking to your IT department to obtain access to an "offline" machine that does not need to follow the company's IT policies. Note that Simulink Desktop Real-Time can run in the presence of other virtualization software such as VMware Workstation.

    More Answers (1)

    The accepted solution did not work for me. I found the solution for my problem here: https://superuser.com/a/1702614/1218362
    "Go to Settings > Privacy & Security > Device Security > Core Isolation > Memory Integrity = OFF"
    You have to restart the computer afterwards.
    (My system is an Windows 11 Computer)

    Categories

    Community Treasure Hunt

    Find the treasures in MATLAB Central and discover how the community can help you!

    Start Hunting!