Invalid Simulink object name: loader

117 visualizaciones (últimos 30 días)
Xinnini
Xinnini el 14 de Jul. de 2020
Comentada: Stefanie Schwarz el 5 de Abr. de 2023
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 comentarios
dongjie fu
dongjie fu el 2 de Sept. de 2021
Has this issue been solved or not?
Stefanie Schwarz
Stefanie Schwarz el 5 de Abr. de 2023
Please contact MathWorks Technical Support for help: https://www.mathworks.com/support/contact_us.html

Iniciar sesión para comentar.

Respuesta aceptada

Pablo Romero
Pablo Romero el 5 de Oct. de 2021
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 comentario
Stefanie Schwarz
Stefanie Schwarz el 5 de Abr. de 2023
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink Functions 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!

Translated by