Help - Search - Members - Calendar
Full Version: C# talking with Dymola
Modelica Forum > Modelica > SimulationX Forum
Renata
Hello,

I have a model in modelica and I want to run it and get its result and use in a C# program.

How can I make my program in C# talk with Dymola, so I can run it in Dymola and get the results?

Thanks,

Renata
dragos
Hello Renata,

One Modelica simulation created with Dymola can be executed as a DDE server. If you create your C# application as a DDE client you will be able to communicate with the Modelica simulation. I already done that using the NDde library (http://www.codeplex.com/ndde). It is actually very simple to use.

Regards,
Dragos
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.