Skip to content

Commit

Permalink
- Fix result-file containing names C.der(x) instead of der(C.x); the …
Browse files Browse the repository at this point in the history
…first one is not a valid Modelica identifier and won't parse...

- Fix plotting in OMEdit (send "filename.mat" instead of filename.mat)


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8027 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Feb 26, 2011
1 parent 41f910b commit 448401b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/OMCProxy.cpp
Expand Up @@ -1151,7 +1151,7 @@ bool OMCProxy::simulate(QString modelName, QString simualtionParameters)
// modified plot API call
bool OMCProxy::plot(QString plotVariables, QString fileName)
{
sendCommand("plot({" + plotVariables + "}, " + fileName + ")");
sendCommand("plot({" + plotVariables + "}, \"" + fileName + "\")");
if (getResult().contains("true"))
return true;
else
Expand Down

0 comments on commit 448401b

Please sign in to comment.