Invalid Simulink object name: loader

조회 수: 69(최근 30일)
Xinnini
Xinnini 2020년 7월 14일
답변: Pablo Romero 2021년 10월 5일
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
  댓글 수: 5
dongjie fu
dongjie fu 2021년 9월 2일
Has this issue been solved or not?

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

답변(1개)

Pablo Romero
Pablo Romero 2021년 10월 5일
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.

범주

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by