Invalid Simulink object name: rtwshared

조회 수: 22 (최근 30일)
Edward Powlesland
Edward Powlesland 2020년 2월 6일
댓글: Edward Powlesland 2020년 2월 24일
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
Sashi Tiwari
Sashi Tiwari 2020년 2월 13일
Hello Edward, Have you got the answer?
Edward Powlesland
Edward Powlesland 2020년 2월 24일
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.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by