Hello together,
I do have troubles compiling a C-Code into a S-function using the S-Function builder block in simulink. I did compile the same code (excluding different library paths obvisouly) with MinGW64 on another Computer using Matlab R2021b and the mex-File works perfectly within the simulink model.
However on the other Laptop with Matlab R2022a the C-Code also is compiled and a mex-File is generated. But immediately after that I receive an error saying:
and the all three Code-Files (.c, .c_wrapper & .mexw64) are deleted from the working folder. If you click on show complete stack track nothing happens.
Anybody had similar troubles?
Kind regards