Thanks to all

josu


El 09-ots-12, a las 18:04, Edward A. Lee escribió:


Assuming toplevel is a NamedObj referring to the top-level
of your model, you can do something like:

String moml = "<property name=\"parameterName\" value=\"newValue\"/ >";
 ChangeRequest request = new MoMLChangeRequest(moml, ...);
 toplevel.requestChange(request);


Hope this helps.
Edward


josu jugo wrote:
Hi
I am trying to call ptolemy from another java program and I want to change parameters defined in the moml file from this java application.
Any in the list knows a procedure valid for this purpose?
Thanks
josu
---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: ptolemy-hackers-requ...@ptolemy.eecs.berkeley.edu
<eal.vcf>



----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: ptolemy-hackers-requ...@ptolemy.eecs.berkeley.edu

Reply via email to