how to get average or mean of a block

@cory.quammen I tried what you said, and it didn’t work. Here is what I did:

  • 5.6.0, Linux, builtin server.
  • Open can.exo. All variables on. Apply.
  • (Check with the spreadsheet which blocks are which. Currently, blocks are named 2 and 3. Grrr).
  • Python Annotation. Expression is mean(ACCL.Arrays[2]). Apply.
    Error message is name ‘ACCL’ is not defined.

What are my user and I doing wrong?