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

1 回表示 (過去 30 日間)
f
f 2024 年 10 月 27 日
回答済み: Jan Houska 2024 年 10 月 28 日
  1 件のコメント
f
f 2024 年 10 月 27 日
移動済み: Walter Roberson 2024 年 10 月 27 日
I've been waiting for a long time, but T is still 0

サインインしてコメントする。

回答 (1 件)

Jan Houska
Jan Houska 2024 年 10 月 28 日
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

コミュニティ

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by