Embedded coder code generation error with error in rtwcgfinddsmreuse

4 views (last 30 days)
When I generate code by embedded coder, the following error occurred.
Code generation assertion 'blkModRef && (*blkModRef).size() == 1' failed in 'b:\matlab\src\simulink\sl_engin\rtwcgfinddsmreuse.cpp:1623'.
I'm trying to figure out which block is causing this error to occur.
It seems to be ok when I command a chart in my model, but I can't see any reason why the error might occur.
  3 Comments
Y.L.
Y.L. on 17 Aug 2023
Hi,
Thanks for your quick reply.
If the error is caused by running out of memory, how can I check this problem?
The memory means rom or ram? Or I can delete cache files in disk?
Poorna
Poorna on 6 Sep 2023
Hi Y.L.,
Could you attach the model files to reproduce the error, so that we could have a better understanding of the problem.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!