Hi,
The MDT Eclipse environment mostly supports
the OpenModelica compiler development in which
the builds are using Makefiles.
MDT also supports Modelica projects but the
"build" in these projects is only syntactic
checking of the source code. MDT instructs
the OMC compiler to load all the .mo files
and reports the parsing errors in the Problems
view in Eclipse. MDT starts the OMC compiler
in the background. OMC is located by MDT using
the OPENMODELICAHOME environment variable:
${OPENMODELICAHOME}/bin/omc[.exe]
You will need to have OpenModelica installed
on your system to make MDT work properly.
To simulate and plot variables froma a Modelica
model you will have to either write commands in
the MDT Console or use the OMShell:
loadFile("Model.mo");
simulate(Model);
plot(variable); // or plot({variable1, variable2});
I hope this answers your questions a bit. The MDT
help in Eclipse is a bit outdated, we will need
to update it. Please check the OpenModelica users
and system guide for more info:
http://www.ida.liu.se/labs/pelab/modelica/OpenModelica/releases/1.4.4/doc/
Cheers,
Adrian Pop/
Carlos Alexander Aparicio Astwood wrote:
Hello, I have a problem in the steps I have to follow in order to create
a OpenModelica project using MDT Eclipse plug-in. In the help it says
that I have to create some environment variables but there are just the
names but not the values, and without it (values) I can not build a
project. If someone can help me with this problem or knows another way
to build a project I would be grateful if you can answer me.
Thank you,
Carlos Aparicio.