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

99 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
MathWorks Support Team about 14 hours 前
编辑:MathWorks Support Team about 3 hours 前
NOTE: The limitation regarding Simulink Desktop Real-Time (SLDRT) and Hyper-V was removed in version R2023a. Upgrade MATLAB to R2023a or later in order to use SLDRT in the presence of Hyper-V.
If you need to use SLDRT with version R2022b or prior, try the following steps:
(1) Make sure that you have restarted the computer after disabling the Hyper-V settings in the Windows feature list.
(2) 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.
Try to repeat the steps from the troubleshooting guide 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 MATLAB again.
(3) Some of our customers reported that disabling the following resolved the issue for them in Windows 11:
"Go to Settings > Privacy & Security > Device Security > Core Isolation > Memory Integrity = OFF"
(4) 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) We are aware of cases where disabling Hyper-V in the Windows feature list 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 disable Hyper-V on your machine, or upgrade MATLAB to version R2023a where this limitation regarding SLDRT and Hyper-V was removed.
(6) 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. Our recommendation is to talk to your IT helpdesk to get access to an "offline" machine that does not have to follow the company's IT policies. Also, note that other hypervisors such as VMware Workstation will work with Simulink Desktop Real-Time.

    更多回答(1 个)

    Nathan Hardenberg
    Nathan Hardenberg 2022-10-11
    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)

    类别

    Help CenterFile Exchange 中查找有关 Simulink Desktop Real-Time 的更多信息

    Community Treasure Hunt

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

    Start Hunting!

    Translated by