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.

Risposte (0)

Categorie

Scopri di più su Simulink Coder in Centro assistenza e File Exchange

Richiesto:

il 25 Ott 2019

Community Treasure Hunt

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

Start Hunting!

Translated by