Error creating protected model
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I can successfully create protected models using R2014a, but they cannot be opened in R2015a. So, when I go through the same procedure of creating protected models using R2015a, I cannot complete the cycle. Here are the steps that I am taking:
I am using R2015a on a 32-bit platform. I created a Referenced model. Then I try to create a protected model and I get the following error/warnings:
TLC Compiler encountered an OUT_OF_MEMORY condition. Attempting to clean up...
Error: File: C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc Line: 947 Column: 18
The %if directive on this line has no matching %endif directive
Main program:
==> [00] C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc:<NONE>(18)
Error: File: C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc Line: 917 Column: 5
The %if directive on this line has no matching %endif directive
Main program:
==> [00] C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc:<NONE>(18)
Error: File: C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc Line: 891 Column: 9
The %foreach directive on this line has no matching %endforeach directive
Main program:
==> [00] C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc:<NONE>(18)
Error: File: C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc Line: 890 Column: 33
The %with directive on this line has no matching %endwith directive
Main program:
==> [00] C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc:<NONE>(18)
Main program:
==> [00] C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc:<NONE>(18)
Main program:
==> [00] C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc:<NONE>(18)
Main program:
==> [00] C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc:<NONE>(18)
### Build procedure for model: 'position_control_R2015a' aborted due to an error.
And here is the actual errror message:
Error: File: C:\Program Files\MATLAB\R2015a\rtw\c\tlc\mw\ertlib.tlc Line: 862 Column: 6 The %if directive on this line has no matching %endif directive
Anyone have a solution/workaround this?
0 commentaires
Réponses (1)
Sainath Varikuti
le 22 Juil 2015
Modifié(e) : Sainath Varikuti
le 22 Juil 2015
Hello Remus,
The following thread discusses troubleshooting steps and workaround.
Regards,
Sainath.
0 commentaires
Voir également
Catégories
En savoir plus sur Model Protection dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!