Borrar filtros
Borrar filtros

Code generation error during building

2 visualizaciones (últimos 30 días)
Ádám Ostorhazy
Ádám Ostorhazy el 16 de Feb. de 2015
Comentada: Ádám Ostorhazy el 24 de Feb. de 2015
Hi,
I'm trying to make an embedded code, and run into the following problem during building:
undef. "rtw" or class "rtw.pil.ExecutionProfileRegistry.getRegistryForModel"
Previously I successfully generated code with the given coder parameters.
Anyone run into the same error?
Thanks, Adam
  2 comentarios
Ryan Livingston
Ryan Livingston el 23 de Feb. de 2015
It sounds like a possible installation issue or MATLAB path issue. You can try to run:
restoredefaultpath
rehash toolboxcache
to see if that resolves anything.
If that doesn't help what does:
which -all rtw
return? Spell and capitalize rtw the same way it is shown in the error message.
Have you installed, moved, or otherwise modified any MATLAB toolboxes?
Ádám Ostorhazy
Ádám Ostorhazy el 24 de Feb. de 2015
The 2 commands you mentioned solved the problem.
Thanks a lot, Adam

Iniciar sesión para comentar.

Respuesta aceptada

Abhishek GS
Abhishek GS el 24 de Feb. de 2015
Adam,
This can also happen when your MATLAB preferences get corrupted. Try regenerating your MATLAB preferences and and then build the model.
Use the below link for information on how to regenerate MATLAB Preferences.

Más respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by