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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Denis Gurchenkov
Denis Gurchenkov il 17 Set 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 il 17 Set 2019
Yes i am in contact with MathWorks Suport team.
I will send the solution here.

Accedi per commentare.

Risposta accettata

Lars Kahre
Lars Kahre il 17 Set 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.

Più risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by