Hi , i am trying to use a function that i created in C++ but the auxiliary variable where i define it seems not to run it. The value is always 0.000
I followed the tutorial , where you use a simple C code and none of the examples worked. Do i have to install a C compiler or do something else?
Thank you for your help
Discussion about the use of Simantics System Dynamics
3 posts • Page 1 of 1
The documentation was imperfect: to use C or C++ you need to use OpenModelica as the solver. So if you haven't already downloaded the Sysdyn version with OpenModelica included, you first need to do so. Then, you need to set the OpenModelica as the solver in the Preferences (Window -> Preferences -> Solver). The installation package with OpenModelica has also MinGW C compiler included that allows to build object files from C source code.
Thank you very much , that solved my problem