Error in onCleanup/delete by create a protected model (line 81)

3 views (last 30 days)
After the try to protect an existing reference model, the error massage:
"Dot indexing is not supported for variables of this type."
To be exact the error happens in the onCleanup/delete function in line 81.
How can i modify my modell to prevent this error?
  2 Comments
Denis Gurchenkov
Denis Gurchenkov on 17 Sep 2019
This looks like a bug, you might want to contact MathWorks technical support. They would ask you to provide reproduction steps and what release you are using. If there is a workaround they'd tell you.
Lars Kahre
Lars Kahre on 17 Sep 2019
Yes i am in contact with MathWorks Suport team.
I will send the solution here.

Sign in to comment.

Accepted Answer

Lars Kahre
Lars Kahre on 17 Sep 2019
We found the problem.
I have had an initialisation file as callback in each subsystem implemented. And this didn´t work.
Without this callback the model protoction and code generation work.

More Answers (0)

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!