answered Apr 14 '3
See post How to access/plot the calculation/internal variables of a user defined model!