Problems compiling an S-function in Simulink

I have a simulink model where i use a s-function generated in Matlab in C code, and i have problems with the compilation. These are the errors:
Error occurred while executing External Mode MEX-file 'sldrtext': Error loading real-time image: undefined symbol "omp_destroy_nest_lock"
Unable to connect to the 'Simulink Desktop Real-Time' target for 'rdB'.
I think it is related with the Compiler, but I don't know how to solve it. I used the Visual Studio Compiler to generate the C code in Matlab, because MinGW64 gave me some errors.

Réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by