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 ExchangeSimulink Coder についてさらに検索

質問済み:

2019 年 10 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by