Real-Time error after the last update windows 10

12 ビュー (過去 30 日間)
Alejandro Veiga
Alejandro Veiga 2020 年 6 月 30 日
編集済み: Vandit 2024 年 9 月 28 日
Hi,
My Matlab / Simulink after the latest Windows 10 update (19041.329) can't simulate in real time, the error message is:
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Error reported by S-function 'sldrtsync' in 'ForcesCompensation_vRo_Ce_Be_Ga_v3/Real-Time Synchronization': Hardware timer cannot be allocated. Real-time kernel cannot run.
Yesterday before the update everything works fine.
I tried to reinstall the following packages:
- Simulink in real time.
- Real-time desktop simulation.
- MATLAB support for the MinGW-w64 C / C ++ compiler.
And reinstall the real-time kernel with "sldrtkernel -install" command.
But the problem was not resolved.
I have the Matlab 2018b and Matlab 2019b and both have the same problem.
Can anyone help me?
Thanks.
  5 件のコメント
Nathan Yong Xin Yao
Nathan Yong Xin Yao 2021 年 1 月 16 日
Same problem here
walle peng
walle peng 2021 年 1 月 30 日
I have the same problem

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

回答 (1 件)

Vandit
Vandit 2024 年 9 月 28 日
編集済み: Vandit 2024 年 9 月 28 日
Hello Alejandro,
The error you are encountering is often due to hardware or software incompatibility between the real-time kernel and either the operating system or the computer's mainboard, which results in the inability to allocate a hardware timer. To ensure compatibility between the real-time kernel and the latest operating system updates, please consider using the most recent releases of MATLAB and Simulink Desktop Real-Time, as improvements are continually made with each new version.
You might find it helpful to refer to the MATLAB Answers threads below, which discusses a similar issue:
Hope this helps.

カテゴリ

Help Center および File ExchangeTroubleshooting in Simulink Desktop Real-Time についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by