Invalid Simulink object name: rtwshared

23 visualizaciones (últimos 30 días)
Edward Powlesland
Edward Powlesland el 6 de Feb. de 2020
Comentada: Edward Powlesland el 24 de Feb. de 2020
I'm trying to build a model for deployment to an Android device using the Simulink Support Package for Android Devices. I built and deployed one of the referenced models successfully as a test, however when trying to build the top model I get the following error:
Invalid Simulink object name: rtwshared
Caused by:
No block diagram 'rtwshared' is loaded.
My understanding is that rtwshared is generated as part of the build process and is stored in the _sharedutils folder. However, checking that folder shows that it does not exist, and I am unsure why it has not been created and what I can do to resolve this issue.
Many thanks for any help and further troubleshooting steps!
  3 comentarios
Sashi Tiwari
Sashi Tiwari el 13 de Feb. de 2020
Hello Edward, Have you got the answer?
Edward Powlesland
Edward Powlesland el 24 de Feb. de 2020
Hello,
Sorry for the delay - I contacted MATLAB Support, and they said it is due to a current bug when building a top model containing model reference blocks. My issue was resolved by copying the referenced models into sub-system blocks.
Hopefully this resolves your problem also. I realise that this is only a workaround, apparently MathWorks are working on releasing a fix in a future update.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by