How to fix "failed assertion in B:\matlab\toolbox\stateflow\sf_xform\instrument\DataRange.cpp at line 187"?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
When I compile a model with MATLAB 2020b, everything is fine.
When I compile the same with MATLAB 2021b, I get the error
failed assertion in B:\matlab\toolbox\stateflow\sf_xform\instrument\DataRange.cpp at line 187:
In checkValueInTypeDomain: Assertion failed: val != nullptr
How can I fix the issue?
I already tried cleaning the work folder, same issue.
I placed a breakpoint at the construct_module (line 104) (see Stack trace below), it fails at the first call.
Btw: Why is the string B:\matlab\toolbox.... hard coded?
Many thanks for your support!
#####
Diagnostic Viewer:
...
failed assertion in B:\matlab\toolbox\stateflow\sf_xform\instrument\DataRange.cpp at line 187: In checkValueInTypeDomain: Assertion failed: val != nullptr
[ 0] 0x00007ff92b449095 C:\Program Files\MATLAB\R2021b\bin\win64\sf_xform.dll+00626837 SF::xform::DataRange::insertDataRangeCheckFollowingEdge+00000325
[ 1] 0x00007ff92b449490 C:\Program Files\MATLAB\R2021b\bin\win64\sf_xform.dll+00627856 SF::xform::DataRange::insertDataRangeCheckForInitFcnCFG+00000624
[ 2] 0x00007ff92b44b2f4 C:\Program Files\MATLAB\R2021b\bin\win64\sf_xform.dll+00635636 SF::xform::DataRange::processFcn+00000164
...
[126] 0x00007ff9dfa81ec5 bin\win64\pgo\m_dispatcher.dll+00073413 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00001205
[127] 0x00007ff9dfa823e0 bin\win64\pgo\m_dispatcher.dll+00074720 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00000672
MATLAB stack trace:
In SLStudio.StartPauseContinue
In SLStudio.ToolBars
...
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Configure and View Diagnostics 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!