In cast: Assertion failed: isA(*aNode)
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm using StateFlow. When I built my model, this error occured.
failed assertion in b:\matlab\src\cg_ir\export\include\cg_ir\expr\constexpr.hpp at line 26:
In cast: Assertion failed: isA(*aNode)
[ 0] 0x000000025607c0f2 bin\win64\sf_xform.dll+00377074 SF::xform::LowerHighLevelNodes::processFcn+00000338
[ 1] 0x0000000256074b9a bin\win64\sf_xform.dll+00347034 SF::xform::FcnTransform<SF::xform::LowerHighLevelNodes>::apply+00000282
[ 2] 0x000000024df34711 bin\win64\sf_xform_driver.dll+00018193
[ 3] 0x000000024df34269 bin\win64\sf_xform_driver.dll+00017001
[ 4] 0x000000024df413b8 bin\win64\sf_xform_driver.dll+00070584 SF::xform::driver::Driver::run+00000232
[ 5] 0x000000024fae8ace bin\win64\stateflow.dll+09079502 sl_hmi::InstrumentedSignals::getCount+01129918
[ 6] 0x000000024fa4a6c1 bin\win64\stateflow.dll+08431297 sl_hmi::InstrumentedSignals::getCount+00481713
[ 7] 0x000000024fa30a39 bin\win64\stateflow.dll+08325689 sl_hmi::InstrumentedSignals::getCount+00376105
[ 8] 0x000000024f6d9938 bin\win64\stateflow.dll+04823352 SF::SD::setSymbolicSizeOnData+00312392
[ 9] 0x000000024f6eea57 bin\win64\stateflow.dll+04909655 SF::SD::setSymbolicSizeOnData+00398695
[ 10] 0x00000002506c187e bin\win64\stateflow.dll+21502078 SF::mx2str_write_str+00037422
[ 11] 0x000000025016fb8d bin\win64\stateflow.dll+15924109 SF::sf_mexFunction+00002861
[ 12] 0x000000025016f075 bin\win64\stateflow.dll+15921269 SF::sf_mexFunction+00000021
[ 13] 0x00000000fc634844 bin\win64\libmex.dll+00346180 MexRetrieveVersion+00003348
[ 14] 0x00000000fc634ba4 bin\win64\libmex.dll+00347044 MexRetrieveVersion+00004212
[ 15] 0x00000000fc618089 bin\win64\libmex.dll+00229513 mexUnlock+00024825
[ 16] 0x000000001b109a66 bin\win64\pgo\m_dispatcher.dll+00039526 Mfh_file::dispatch_file_common+00000210
[ 17] 0x000000001b19252e bin\win64\pgo\m_dispatcher.dll+00599342 Mfh_error::lookup+00005234
[ 18] 0x000000001b192dcd bin\win64\pgo\m_dispatcher.dll+00601549 Mfh_file::dispatch+00000045
[ 19] 0x000000001bf4b7a0 bin\win64\pgo\m_lxe.dll+00505760
[ 20] 0x000000001bf4be01 bin\win64\pgo\m_lxe.dll+00507393
[ 21] 0x000000001bf4a9a6 bin\win64\pgo\m_lxe.dll+00502182
[ 22] 0x000000001bf48cd3 bin\win64\pgo\m_lxe.dll+00494803
[ 23] 0x000000001bf502b5 bin\win64\pgo\m_lxe.dll+00524981
[ 24] 0x000000001bf4dff0 bin\win64\pgo\m_lxe.dll+00516080
[ 25] 0x000000001bf4dc04 bin\win64\pgo\m_lxe.dll+00515076
[ 26] 0x000000001b109525 bin\win64\pgo\m_dispatcher.dll+00038181 AutoPushingExecutionFrame::AutoPushingExecutionFrame+00002325
[ 27] 0x000000001b10998d bin\win64\pgo\m_dispatcher.dll+00039309 Mfh_file::dispatch_with_reuse+00000045
[ 28] 0x000000001db90156 bin\win64\pgo\m_lxe.dll+30146902 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00774638
[ 29] 0x000000001bf3da37 bin\win64\pgo\m_lxe.dll+00449079
[ 30] 0x000000001bf12bd9 bin\win64\pgo\m_lxe.dll+00273369
[ 31] 0x000000001b32ff80 bin\win64\pgo\m_interpreter.dll+00065408 inCallFcn+00000176
[ 32] 0x00000002535dddd7 bin\win64\libmwsl_services.dll+02219479 slsvFEVAL+00001431
[ 33] 0x000000025016f3bb bin\win64\stateflow.dll+15922107 SF::sf_mexFunction+00000859
[ 34] 0x00000002506c187e bin\win64\stateflow.dll+21502078 SF::mx2str_write_str+00037422
[ 35] 0x000000025016fb8d bin\win64\stateflow.dll+15924109 SF::sf_mexFunction+00002861
[ 36] 0x000000025016f075 bin\win64\stateflow.dll+15921269 SF::sf_mexFunction+00000021
[ 37] 0x00000000fc634844 bin\win64\libmex.dll+00346180 MexRetrieveVersion+00003348
[ 38] 0x00000000fc634ba4 bin\win64\libmex.dll+00347044 MexRetrieveVersion+00004212
[ 39] 0x00000000fc618089 bin\win64\libmex.dll+00229513 mexUnlock+00024825
[ 40] 0x000000001b109525 bin\win64\pgo\m_dispatcher.dll+00038181 AutoPushingExecutionFrame::AutoPushingExecutionFrame+00002325
[ 41] 0x000000001b10998d bin\win64\pgo\m_dispatcher.dll+00039309 Mfh_file::dispatch_with_reuse+00000045
[ 42] 0x000000001bf41f94 bin\win64\pgo\m_lxe.dll+00466836
[ 43] 0x000000001bf3da37 bin\win64\pgo\m_lxe.dll+00449079
[ 44] 0x000000001bf12bd9 bin\win64\pgo\m_lxe.dll+00273369
[ 45] 0x000000001b32ff80 bin\win64\pgo\m_interpreter.dll+00065408 inCallFcn+00000176
[ 46] 0x00000002535ba768 bin\win64\libmwsl_services.dll+02074472 slsv::mxw::WarningHandler::operator=+00008808
[ 47] 0x00000002535cf80e bin\win64\libmwsl_services.dll+02160654 CMatlabCommand::execute+00000270
[ 48] 0x00000002535ddf71 bin\win64\libmwsl_services.dll+02219889 slsvFEVAL_NoThrow+00000289
[ 49] 0x00000002535de010 bin\win64\libmwsl_services.dll+02220048 slsvFEVAL_NoThrow+00000064
[ 50] 0x00000000794cc703 bin\win64\sl_graphical_classes.dll+02279171 NotifyStateflowNamedEventRecursively+00000947
[ 51] 0x000000000ccc484c bin\win64\sl_compile.dll+03360844 SLCompPropagation+00004444
[ 52] 0x000000000ccd4a1b bin\win64\sl_compile.dll+03426843 SLCompVCEPropStageTwoAndRemoveInactiveChoices+00010571
[ 53] 0x000000000ccd4c1f bin\win64\sl_compile.dll+03427359 sleCompileBlockDiagram+00000399
[ 54] 0x000000000623cea9 bin\win64\libmwsimulink.dll+11325097 sl_pir::copyContentBetweenModels+00198025
[ 55] 0x0000000006233991 bin\win64\libmwsimulink.dll+11286929 sl_pir::copyContentBetweenModels+00159857
[ 56] 0x0000000006233ed0 bin\win64\libmwsimulink.dll+11288272 sl_pir::copyContentBetweenModels+00161200
[ 57] 0x0000000006366409 bin\win64\libmwsimulink.dll+12542985 DiscreteBlockExecWrapper::getAdaptorSystemInitialize+00068185
[ 58] 0x0000000006372410 bin\win64\libmwsimulink.dll+12592144 DiscreteBlockExecWrapper::getAdaptorSystemInitialize+00117344
[ 59] 0x0000000006014218 bin\win64\libmwsimulink.dll+09060888 QueryMLFcnTable_libmwsimulink+00094040
[ 60] 0x000000001b106e0a bin\win64\pgo\m_dispatcher.dll+00028170 mdFindFunctionFromUserSpecifiedName+00016858
[ 61] 0x000000001b108f49 bin\win64\pgo\m_dispatcher.dll+00036681 AutoPushingExecutionFrame::AutoPushingExecutionFrame+00000825
[ 62] 0x000000001b1080bd bin\win64\pgo\m_dispatcher.dll+00032957 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 63] 0x000000001bf4b7a0 bin\win64\pgo\m_lxe.dll+00505760
[ 64] 0x000000001bf4be01 bin\win64\pgo\m_lxe.dll+00507393
[ 65] 0x000000001bff6ebc bin\win64\pgo\m_lxe.dll+01207996 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00609492
[ 66] 0x000000001bff7ba3 bin\win64\pgo\m_lxe.dll+01211299 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00612795
[ 67] 0x000000001bff9ced bin\win64\pgo\m_lxe.dll+01219821 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00621317
[ 68] 0x000000001bff90cf bin\win64\pgo\m_lxe.dll+01216719 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00618215
[ 69] 0x000000001bff95fc bin\win64\pgo\m_lxe.dll+01218044 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00619540
[ 70] 0x000000001bf49934 bin\win64\pgo\m_lxe.dll+00497972
[ 71] 0x000000001bf502b5 bin\win64\pgo\m_lxe.dll+00524981
[ 72] 0x000000001bf4dff0 bin\win64\pgo\m_lxe.dll+00516080
[ 73] 0x000000001bf4dc04 bin\win64\pgo\m_lxe.dll+00515076
[ 74] 0x000000001b109525 bin\win64\pgo\m_dispatcher.dll+00038181 AutoPushingExecutionFrame::AutoPushingExecutionFrame+00002325
[ 75] 0x000000001b10998d bin\win64\pgo\m_dispatcher.dll+00039309 Mfh_file::dispatch_with_reuse+00000045
[ 76] 0x000000002bf83bcf bin\win64\pgo\mcos_impl.dll+00342991
[ 77] 0x000000002bf8cdde bin\win64\pgo\mcos_impl.dll+00380382
[ 78] 0x000000002bf8bcaf bin\win64\pgo\mcos_impl.dll+00375983
[ 79] 0x000000002bf8ab5b bin\win64\pgo\mcos_impl.dll+00371547
[ 80] 0x000000002bf8a940 bin\win64\pgo\mcos_impl.dll+00371008
[ 81] 0x000000002bf8a1ea bin\win64\pgo\mcos_impl.dll+00369130
[ 82] 0x000000001b10736c bin\win64\pgo\m_dispatcher.dll+00029548 mdFindFunctionFromUserSpecifiedName+00018236
[ 83] 0x000000001b1080f1 bin\win64\pgo\m_dispatcher.dll+00033009 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 84] 0x000000001bf3fed0 bin\win64\pgo\m_lxe.dll+00458448
[ 85] 0x000000001bf41cbe bin\win64\pgo\m_lxe.dll+00466110
[ 86] 0x000000001c0ea039 bin\win64\pgo\m_lxe.dll+02203705 mwboost::archive::detail::oserializer<mwboost::archive::binary_oarchive,foundation::msg_svc::eventmgr::BaseEvent>::oserializer<mwboost::archive::binary_oarchive,foundation::msg_svc::eventmgr::BaseEvent>+00008405
[ 87] 0x000000001bf44c2f bin\win64\pgo\m_lxe.dll+00478255
[ 88] 0x000000001c076e73 bin\win64\pgo\m_lxe.dll+01732211 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+01133707
[ 89] 0x000000001bf4b1b1 bin\win64\pgo\m_lxe.dll+00504241
[ 90] 0x000000001c10129d bin\win64\pgo\m_lxe.dll+02298525 MathWorks::lxe::ShutdownLxeEngine+00012893
[ 91] 0x000000001bff6ebc bin\win64\pgo\m_lxe.dll+01207996 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00609492
[ 92] 0x000000001bff7ba3 bin\win64\pgo\m_lxe.dll+01211299 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00612795
[ 93] 0x000000001bff9ced bin\win64\pgo\m_lxe.dll+01219821 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00621317
[ 94] 0x000000001bff90cf bin\win64\pgo\m_lxe.dll+01216719 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00618215
[ 95] 0x000000001bff95fc bin\win64\pgo\m_lxe.dll+01218044 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00619540
[ 96] 0x000000001bf49934 bin\win64\pgo\m_lxe.dll+00497972
[ 97] 0x000000001bf502b5 bin\win64\pgo\m_lxe.dll+00524981
[ 98] 0x000000001bf4dff0 bin\win64\pgo\m_lxe.dll+00516080
[ 99] 0x000000001bf4dc04 bin\win64\pgo\m_lxe.dll+00515076
[100] 0x000000001b109525 bin\win64\pgo\m_dispatcher.dll+00038181 AutoPushingExecutionFrame::AutoPushingExecutionFrame+00002325
[101] 0x000000001b10998d bin\win64\pgo\m_dispatcher.dll+00039309 Mfh_file::dispatch_with_reuse+00000045
[102] 0x000000001bf41f94 bin\win64\pgo\m_lxe.dll+00466836
[103] 0x000000001bf3da37 bin\win64\pgo\m_lxe.dll+00449079
[104] 0x000000001bf12bd9 bin\win64\pgo\m_lxe.dll+00273369
[105] 0x000000001b32aba1 bin\win64\pgo\m_interpreter.dll+00043937 inFullFevalFcn+00000705
[106] 0x000000001b106e0a bin\win64\pgo\m_dispatcher.dll+00028170 mdFindFunctionFromUserSpecifiedName+00016858
[107] 0x000000001b108f49 bin\win64\pgo\m_dispatcher.dll+00036681 AutoPushingExecutionFrame::AutoPushingExecutionFrame+00000825
[108] 0x000000001b1080bd bin\win64\pgo\m_dispatcher.dll+00032957 Mfh_MATLAB_fn_impl::dispatch+00000045
[109] 0x000000001bf4b7a0 bin\win64\pgo\m_lxe.dll+00505760
[110] 0x000000001bf4be01 bin\win64\pgo\m_lxe.dll+00507393
[111] 0x000000001bff6ebc bin\win64\pgo\m_lxe.dll+01207996 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00609492
[112] 0x000000001bff7ba3 bin\win64\pgo\m_lxe.dll+01211299 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00612795
[113] 0x000000001bff9ced bin\win64\pgo\m_lxe.dll+01219821 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00621317
[114] 0x000000001bff90cf bin\win64\pgo\m_lxe.dll+01216719 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00618215
[115] 0x000000001bff95fc bin\win64\pgo\m_lxe.dll+01218044 mwboost::archive::detail::iserializer<mwboost::archive::binaryTerm_iarchive,ir::IrTree>::load_object_data+00619540
[116] 0x000000001bf49934 bin\win64\pgo\m_lxe.dll+00497972
[117] 0x000000001bf502b5 bin\win64\pgo\m_lxe.dll+00524981
[118] 0x000000001bf4f85c bin\win64\pgo\m_lxe.dll+00522332
[119] 0x000000001bf3f261 bin\win64\pgo\m_lxe.dll+00455265
[120] 0x000000001bf3e5e3 bin\win64\pgo\m_lxe.dll+00452067
[121] 0x000000001bf3da37 bin\win64\pgo\m_lxe.dll+00449079
[122] 0x000000001bf12bd9 bin\win64\pgo\m_lxe.dll+00273369
[123] 0x000000001b32aba1 bin\win64\pgo\m_interpreter.dll+00043937 inFullFevalFcn+00000705
[124] 0x000000001b106e0a bin\win64\pgo\m_dispatcher.dll+00028170 mdFindFunctionFromUserSpecifiedName+00016858
[125] 0x000000001b108f49 bin\win64\pgo\m_dispatcher.dll+00036681 AutoPushingExecutionFrame::AutoPushingExecutionFrame+00000825
[126] 0x000000001b1080bd bin\win64\pgo\m_dispatcher.dll+00032957 Mfh_MATLAB_fn_impl::dispatch+00000045
[127] 0x000000001bf44fb9 bin\win64\pgo\m_lxe.dll+00479161
MATLAB stack trace:
> In construct_module (line 99)
In generate_code_for_charts_and_machine (line 136)
In sfc (line 166)
In targetman>code_method (line 362)
In targetman>method_nag_wrapper (line 153)
In targetman (line 82)
In autobuild_kernel>autobuild_local (line 184)
In autobuild_kernel (line 53)
In autobuild_driver (line 118)
In slsf (line 128)
In tlc_c (line 182)
In coder.internal.ModelBuilder/buildProcedure (line 813)
In coder.internal.ModelBuilder/make_rtw (line 218)
In coder.internal.ModelCodegenMgr/make_rtw (line 8)
In make_rtw (line 20)
In build_target
In build_target
In build_standalone_rtw_target
In slbuild_private
In slbuild_private
In slprivate (line 11)
In coder.internal.simulinkcodermenus
1 comentario
Respuestas (1)
Ver también
Categorías
Más información sobre Complex Logic 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!