필터 지우기
필터 지우기

Embedded C Code generation Error ???

조회 수: 2 (최근 30일)
Bala kumar
Bala kumar 2016년 4월 8일
편집: Walter Roberson 2016년 4월 9일
Hi,
The following Error I am getting while generating code for my model using Matlab R2015b version.
Code generation assertion '!fieldExists[elName]' failed in 'b:\matlab\src\rtwcg\rtwcg_utils\rtwcg_vargroup.cpp:1482'
[ 0] 0x00000000f6a8f7f9 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+07272441 rtwAutosarArgSpec::SetSignalName+00156297
[ 1] 0x00000000f6add481 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+07591041 sl::GlobalDataTransfer::getDefaultContTaskTransType+00062961
[ 2] 0x00000000f6ae0b12 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+07605010 SLCG::FileRepErrorStatus::hadError+00002082
[ 3] 0x00000000f678a871 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+04106353 SLGlue::getShowSigGenName+00096945
[ 4] 0x00000000075f56fe C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00022270 Mdispatcher::GetPushableExecutionStack+00000142
[ 5] 0x00000000075f5094 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00020628 Mfunction_handle::dispatch+00000628
[ 6] 0x0000000008c67942 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00162114
[ 7] 0x0000000008c9ab5f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00371551
[ 8] 0x0000000008c99810 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00366608
[ 9] 0x0000000008cc96e1 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562913
[ 10] 0x0000000008cc9406 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562182
[ 11] 0x0000000008c81916 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00268566
[ 12] 0x0000000008c6a1ef C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172527
[ 13] 0x0000000008df8048 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01802312 boost::archive::detail::oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptor>::oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptor>+00218984
[ 14] 0x00000000075f4cc3 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00019651 Mfh_file::dispatch_fh_impl+00000531
[ 15] 0x00000000075f483e C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00018494 Mfh_file::dispatch_fh_with_reuse+00000062
### Build procedure for model: 'Audio_Signal_Flow' aborted due to an error.
Code generation assertion '!fieldExists[elName]' failed in 'b:\matlab\src\rtwcg\rtwcg_utils\rtwcg_vargroup.cpp:1482'.

답변 (1개)

Zack Peters
Zack Peters 2016년 4월 8일
Hi Bala,
Have a look at this Bug Report, the stack is somewhat related:
If you are certain that it does not apply to you, then please create a help ticket with MathWorks technical support. Before doing so, please take the time to try to simplify your model and send it in along with the support ticket:
~Zack

카테고리

Help CenterFile Exchange에서 Code Generation and Deployment에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by