Cannot run kernel - Simulink Desktop Real-time
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
When I try to use the Desktop-Real-Time/Stream input in the simulink, and start a simulation, it apears a error message like "cannot acess kernel". Why do this happen? How it can be solved? Thanks! The error message is: "Hardware time cannot be allocated. Real time kernel cannot run"
2 comentarios
Michal Gála
el 25 de En. de 2018
Hi Willian, did you fix this error? I have the same problem and I don't know how to fix it. Thanks.
Khush Bakhat Sawaiba
el 21 de Abr. de 2021
I think, this is the issue with matlab version.. it will work with 2018b and later versions
Respuestas (1)
Vandit
el 28 de Sept. de 2024
Hello Willian,
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 thread below, which discusses a similar issue:
- https://www.mathworks.com/matlabcentral/answers/1899905-why-am-i-getting-the-error-hardware-timer-cannot-be-allocated-real-time-kernel-cannot-run-on-win
- https://www.mathworks.com/matlabcentral/answers/568887-real-time-kernel-error-s-function-error
Hope this helps.
0 comentarios
Ver también
Categorías
Más información sobre Get Started with Simulink Desktop Real-Time en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!