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.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by