- Hyper-V
- Virtual Machine Platform
- Windows Hypervisor Platform
- Windows Subsystem for Linux
How do I troubleshoot issues with disabling the Windows Hyper-V feature for Simulink Desktop Real-Time?
34 views (last 30 days)
Show older comments
MathWorks Support Team
on 17 Jan 2022
Edited: MathWorks Support Team
on 31 Mar 2025
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
MathWorks Support Team
on 31 Mar 2025
Edited: MathWorks Support Team
on 31 Mar 2025
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 MATLAB Answer to disable Hyper-V.
Make sure that you have disabled all features that use Microsoft virtualization technology, for example:
Make sure to restart MATLAB again.
(3) Especially if you are on Windows 11, make sure that the Windows feature "Core Isolation Memory Integrity" is disabled, which is incompatible with SLDRT:
(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 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.
0 Comments
More Answers (1)
Nathan Hardenberg
on 11 Oct 2022
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)
1 Comment
See Also
Categories
Find more on Simulink Desktop Real-Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!