Code generation between r2024a and r2024b
4 ビュー (過去 30 日間)
古いコメントを表示
Hi,
With the r2024a version, my Simulink model was generating code.
This model has a variant subsystem with two configurations, set with expression->code compile.
With the r2024b version, the generation is giving an error:
CGIR assertion 'B:\matlab\src\cgir_support\dom_core\analysis\modRef\FunctionModRefInfo.cpp(422): In isEdgeCaseForParamInfoQuery: Assertion failed: fType == REGULAR || fType == PROTOTYPE_WITH_FIDELITY ' failed in 'B:\matlab\src\cgir_support\dom_core\analysis\modRef\FunctionModRefInfo.cpp:422'
[ 0] 0x00007ffb9936a1e5 C:\Program Files\MATLAB\R2024b\bin\win64\cg_ir.dll+06332901 CG::operator<<=+00000101
[ 1] 0x00007ffb8da99644 C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+02922052 CG::FunctionModRefInfo::isEdgeCaseForParamInfoQuery+00000180
[ 2] 0x00007ffb8da9911f C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+02920735 CG::FunctionModRefInfo::getParameterInfo+00000159
[ 3] 0x00007ffb8da912b8 C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+02888376 CG::GenericTagCategory<CG::TagForEachVar,0>::numberOfTags+00004984
[ 4] 0x00007ffb8da903d9 C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+02884569 CG::GenericTagCategory<CG::TagForEachVar,0>::numberOfTags+00001177
[ 5] 0x00007ffb8da8d5de C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+02872798 CG::TagForEachVar::clone+00002254
[ 6] 0x00007ffb8da8dd69 C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+02874729 CG::TagForEachVar::clone+00004185
[ 7] 0x00007ffb8da9d8e3 C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+02939107 CG::FunctionModRefInfo::updateSideEffectFlags+00011107
[ 8] 0x00007ffb8da9ef32 C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+02944818 CG::FunctionModRefInfo::updateSideEffectFlags+00016818
[ 9] 0x00007ffb8da9db4a C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+02939722 CG::FunctionModRefInfo::updateSideEffectFlags+00011722
[ 10] 0x00007ffb8dab11fa C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+03019258 CG::ModRefManager::updateScope+00000154
[ 11] 0x00007ffb8dab0824 C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+03016740 CG::ModRefManager::isResultValidForScope+00003524
[ 12] 0x00007ffb8dab08ef C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+03016943 CG::ModRefManager::update+00000047
[ 13] 0x00007ffb8d8ce095 C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+01040533 CG::UseDef::UseDef+00000133
[ 14] 0x00007ffb8d7fbdbc C:\Program Files\MATLAB\R2024b\bin\win64\cgir_support.dll+00179644 CG::analysis::AnalysisManager::getUseDef+00000252
[ 15] 0x00007ffb964bedf2 C:\Program Files\MATLAB\R2024b\bin\win64\cgir_xform.dll+04845042 CG::transform::ConvertIfTreesToSwitchStatementsPredicate::isVarMacro+00015634
### Build procedure for myModel aborted due to an error.
Unexpected or internal error encountered in "in CGIR: B:\matlab\src\cgir_support\dom_core\analysis\modRef\FunctionModRefInfo.cpp line 422: B:\matlab\src\cgir_support\dom_core\analysis\modRef\FunctionModRefInfo.cpp(422): In isEdgeCaseForParamInfoQuery: Assertion failed: fType == REGULAR || fType == PROTOTYPE_WITH_FIDELITY
". Please report this to MathWorks if you can cause it to recur
I don't know what to do, my whole team has converted to r2024b, and they have the same issue.
Do you have a workaround to this issue?
Regard,
Jean
0 件のコメント
採用された回答
Mike Croucher
2025 年 2 月 25 日
Sorry to hear that you are having problems. It is highly unlikely that anyone in this forum is going to be able to help you with this. May I suggest that you contact technical support. Start at Contact Support - MATLAB & Simulink. click on Product Usage and take ot from there
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deployment, Integration, and Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!