I was able to get the model to compile by switching to Matlab 2014B. I tried compiling with other combinations of Matlab and dSpace versions and all crashed with errors, except Matlab 2014B, dSpace 2014B. So this is definitely an issue with the interactions between Matlab 2013A and dSpace 2014B/dSpace 2015B.
Matlab 2013A crashing when trying to compile model with dSpace 2014B
조회 수: 2 (최근 30일)
이전 댓글 표시
This model has compiled in the past for other people, so I'm having a hard time figuring out what is causing this error since I haven't modified the model. The error is below. I can't even locate cg_sanity_checker which is the file it's complaining about. Any help would be greatly appreciated.
Unexpected or internal error encountered in "in CGIR: b:\matlab\src\cg_ir\util_cg\cg_sanity_checker.cpp line 477: Types not equal: theConst->type(), aConstExpr->type()"
Please report this to MathWorks if you can cause it to recur
CGIR assertion 'Types not equal: theConst->type(), aConstExpr->type()' failed in 'b:\matlab\src\cg_ir\util_cg\cg_sanity_checker.cpp:477'
[ 0] 0x0000000029271a10 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01710608 CG::SanityChecker::sanityCheckConst+00000128
[ 1] 0x000000002926e8d6 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01698006 CG::SanityChecker::doNodeSwitch+00000886
[ 2] 0x000000002926b7e8 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01685480 CG::SanityChecker::doNode+00000184
[ 3] 0x000000002926b7e8 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01685480 CG::SanityChecker::doNode+00000184
[ 4] 0x000000002926b7e8 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01685480 CG::SanityChecker::doNode+00000184
[ 5] 0x000000002926b7e8 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01685480 CG::SanityChecker::doNode+00000184
[ 6] 0x000000002926b7e8 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01685480 CG::SanityChecker::doNode+00000184
[ 7] 0x000000002926f072 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01699954 CG::SanityChecker::doStmts+00000162
[ 8] 0x00000000292756a2 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01726114 CG::SanityChecker::doFcn+00000898
[ 9] 0x000000002926f1ab C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01700267 CG::SanityChecker::doModule+00000187
[ 10] 0x000000002926f3b8 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01700792 CG::sanityCheckModule+00000232
[ 11] 0x000000002926f469 C:\Program Files\MATLAB\R2013a\bin\win64\cg_ir.dll+01700969 CG::sanityCheckModuleIfRequested+00000025
[ 12] 0x00000000765c664f C:\Program Files\MATLAB\R2013a\bin\win64\cgir_xform.dll+04154959 CG::InvariantSetBuilder::build+00001967
[ 13] 0x00000000765c5d9f C:\Program Files\MATLAB\R2013a\bin\win64\cgir_xform.dll+04152735 CG::InvariantSet::evaluate+00000079
[ 14] 0x000000007658a46f C:\Program Files\MATLAB\R2013a\bin\win64\cgir_xform.dll+03908719 CG::InvariantCheckerService::prepass+00000175
[ 15] 0x000000007658c685 C:\Program Files\MATLAB\R2013a\bin\win64\cgir_xform.dll+03917445 CG::ServiceContainer::prepass+00000069
----------------------------------------------------------------------
Unexpected or internal error encountered in "in CGIR: b:\matlab\src\cg_ir\util_cg\cg_sanity_checker.cpp line 477: Types not equal: theConst->type(), aConstExpr->type()
". Please report this to MathWorks if you can cause it to recur
----------------------------------------------------------------------
*** Stopped RTI build procedure for model: MICROAUTOBOX.
----------------------------------------------------------------------
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Platform and License에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!