I have developed a simulation model and set up parameters variation experiment with fixed number of runs. How can I
access objects (variables, statistics) in the root object from parameters variation presentation to show the results
(like mean values from several runs etc)?
The default UI shows how to display parameters, but this is easy since they are defined locally (so I believe). Every
attempt to reference objects in root object generates 'Cannot make a static reference to the non-static field' error.
Thanks,
Tomaz
Pavel — 04.02.10
Hi Tomaz,
Please go to the Advanced properties of the experiment. There are "Before/After Simulation run" fields where
you're able to access root object using reserved word "root". For instance, to access variable
"myVar" you should type "root.myVar" in one of these fields.
I hope it helps.
Tomaz — 05.02.10
It works! Many thanks, Pavel.