I use the Desktop real time toolbox to run the model on its core, but why is the progress of the run always 0?

4 views (last 30 days)

Answers (1)

Jan Houska
Jan Houska on 28 Oct 2024
Hello,
this looks like the real-time kernel is unable to attach to the hardware timer of your computer and its internal timing engine does not advance.
To solve the issue, please try to disable Hyper-V if enabled, as described here. Or, if Hyper-V is not enabled, please try to enable it. The reason behind these seemingly controversing advices is that there are two separate timing engines in the real-time kernel - one runs directly on the hardware and the other one on top of the Hyper-V hypervisor. In rare cases, there may be compatibility issues with some computers, and switching to the other timing engine often fixes these. But please note that you need at least MATLAB R2023a to be able to use this solution; for older versions, Hyper-V needs to stay disabled.
Good Luck, Jan

Communities

More Answers in the  Power Electronics Control

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!