Can I run Simulink generated code in Desktop environment to reproduce code generation bugs

1 vue (au cours des 30 derniers jours)
I am interested in reproducing a Simulink "Code Generation" bug reported in their site . The bug is marked as a code generation bug. From my limited understanding, Simulink generates code when run in accelerator or rapid accelerator modes. Alternatively, I can generated code using Code > C/C++ Code > Build Model menu option but I do not now how to "run" this code in my Desktop computer.
To reproduce this bug (and possibly all other bugs categorized as code generation bugs), will it be sufficient to run simulation in these modes (accelerator or rapid accelerator mode) where Simulink generates code? Once the code is generated (in a directory called "slprj"), will these code suffer from the bugs reported?
Or, should there be any other approaches for generating code to reproduce this bug? I have never used the code generation feature of Simulink and only know that I can generate code for a model using "Code" menu ( Code > C/C++ Code > Build Model). For this particular bug, I was able to use the above menu options and generated code (not in "slprj" directory, in a different directory which has _ert_rtw prefix). Should I inspect code in this directory? Also, I would like to know how to run this code to reproduce the bug.
I highly appreciate any help regarding these!

Réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by