When i build an example model in simulink ,it occurs the error
The call to slrt_make_rtw_hook, during the exit hook generated the following error: Invalid Simulink object name: loader The build process will terminate as a result.
Caused by:
  • Invalid Simulink object name: loader
  • No block diagram 'loader' is loaded.
Component:Simulink,simulink real-time | Category:build model

댓글 수: 6

Xinnini
Xinnini 2020년 7월 14일
I don't know how to solve it. I just followed the help text.
Xinnini
Xinnini 2020년 7월 16일
Thanks for the answer ! But that did not solve my problem.
B Hari Kiran Reddy
B Hari Kiran Reddy 2021년 6월 10일
Hi. Were you able to find the solution to this problem?
dongjie fu
dongjie fu 2021년 9월 2일
Has this issue been solved or not?
Stefanie Schwarz
Stefanie Schwarz 2023년 4월 5일
Please contact MathWorks Technical Support for help: https://www.mathworks.com/support/contact_us.html

댓글을 달려면 로그인하십시오.

 채택된 답변

Pablo Romero
Pablo Romero 2021년 10월 5일

1 개 추천

Check the error message on the target console, either by looking at the screen or with the 'getConsoleLog' function: https://www.mathworks.com/help/releases/R2018b/xpc/api/simulinkrealtime.utils.getconsolelog.html?s_tid=doc_ta
It will provide useful data about what the actual cause of the failure is.

댓글 수: 1

Stefanie Schwarz
Stefanie Schwarz 2023년 4월 5일
If the error in the console is:
"Unable to load DLL dependency: KERNEL32.dll.GetFileSizeEx"
then you are probably affected by the bug described here:
But there can be possible other causes. Please contact MathWorks Technical Support for help: https://www.mathworks.com/support/contact_us.html

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Russell
Russell 2025년 1월 20일

0 개 추천

I also had this issue when using Simulink Realtime R2017b - my error included the message that
The call to slrt_make_rtw_hook, during the exit hook generated the following error: Invalid Simulink object name: loader
My fix was found by clearing more space on my target PC.

카테고리

도움말 센터File Exchange에서 Test Model Components에 대해 자세히 알아보기

질문:

2020년 7월 14일

답변:

2025년 1월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by