필터 지우기
필터 지우기

Error creating protected model

조회 수: 4 (최근 30일)
Remus
Remus 2015년 7월 20일
편집: Sainath Varikuti 2015년 7월 22일
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?

답변 (1개)

Sainath Varikuti
Sainath Varikuti 2015년 7월 22일
편집: Sainath Varikuti 2015년 7월 22일

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by