- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Is addEquation supported?
Page Start Prev 1 Next End
Is addEquation supported?
Is addEquation supported?
Sep-28-15 05:46:28
I spotted following line in OpenModelicaSystem.pdf
addEquation(A1<cref>,A2<expr>, A3<expr>)(??NotYetImplemented)
Adds the equation A2=A3 to the model named by A1.
I tried following script, but no luck. Any help will be appreciated.
class MyClass
Real a;
end MyClass;
addEquation(MyClass, a, 10);
then I call list(); the equation was not added in.
I also tried
addEquation(MyClass, Code(a), Code(10));
still fail.
--------------------------------------
My question:
Is addEquation supported?
How can I add equation dynamically?
Edited by: milesma - Sep-28-15 05:59:38
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Is addEquation supported?
There are 0 guests and 0 other users also viewing this topic