- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » no output for setParameterValue
no output for setParameterValue
no output for setParameterValue
Hi,
I am unable to get correct result when using OMC-API setParameterValue. I tried both using Java CORBA as well as from OMShell-terminal. This is the steps in terminal:
>>>package test model mymodel parameter Real p1; parameter Real p2; end mymodel; end test;
{test}
>>>setParameterValue(test.mymodel,p1,2)
Ok
The result is ok, but when I list test, this is what I got:
>>> list(test)
"package test
model mymodel
parameter Real p1;
parameter Real p2;
end mymodel;
end test;
"
so the value is not set to 2 as it is supposed to from the previous command.
Please advise. Thanks.
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » no output for setParameterValue