Renata
Aug 19 2008, 09:36 PM
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
Nov 5 2008, 09:41 AM
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