I can’t manage to create a DLL containing a basic function and use it in a System Modeler Model. Could somebody help me to identify what’s wrong with the following procedure ?
I wrote inside a “FunctionsDLL.c” file a unique basic function “ RhoH2O_Temp_DLL “, calculating the water volumic mass from temperature:
You never mentioned an exports file and the definition of RhoH2OTempDLL does not start with extern "C" __declspec(dllexport). Seeing that symbols are hidden by default on Windows, that would be the first thing I would verify.