Dear list,

Today I started experimenting with the MultiInstanceComposite actor. However, it does not seem to work properly. I created a small test model that can be downloaded from:
http://www.scintilla.utwente.nl/~keesv/multiinstance.zip
The first time the model is run the nBlocks parameter is set to 1, which results in one instance of the MultiInstanceComposite actor. The second time the model is run the nBlocks parameter is set to 3, which results in three instances of the MultiInstanceComposite actor. This still works fine. However, the third time the model is run the nBlocks parameter is set to 1, still three instances of the MultiInstanceComposite actor appear. This does not seem right.

It seems that when the number of desired instances is decreased the 'old' instances are still there. Also, it appears as if all instances of the MultiInstanceComposite actor are saved in the xml file, which does not seem right.

Is this a bug, or am I doing something wrong? What can be done to solve this?

Kind regards,

Kees Verhaar
University of Twente, The Netherlands.

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to