Embedded C Code generation Error ???

4 visualizaciones (últimos 30 días)
Bala kumar
Bala kumar el 8 de Abr. de 2016
Editada: Walter Roberson el 9 de Abr. de 2016
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'.

Respuestas (1)

Zack Peters
Zack Peters el 8 de Abr. de 2016
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

Categorías

Más información sobre Code Generation and Deployment en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by