Stateflow model fails on write 'data after write error'
이전 댓글 표시
I have a harness model which uses a Stateflow model. When running the harness, it fails with this error:
An error occurred while running the simulation and the simulation was terminated
Caused by:
The block 'maneuverLogicLibHarness/maneuverLogicLib/maneuverLogicChart' is writing to the data store 'maneuverLogicLibHarness/maneuverLogicLib/maneuverLogicChart' but the block(s) 'maneuverLogicLibHarness/maneuverLogicLib/maneuverLogicChart' have already written to a portion or the entire region of this memory at time 6.66. For performance reasons, occurrences of this diagnostic for this memory at other simulation time steps will be suppressed.
The error specifies a data store, but there is no data store involved in my model (at least no explicit data store, can be some internal data store in Stateflow chart). Why is this error showing up?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Diagnostics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!