Array support?

Hi Chris,
Kindly help me through my question.
I am trying to write an experiment in which I need to use an array that is updated in the code. I suppose this should happen by using Selection Variable and assign variable, and the expression should be something like “Var[1]”. I tried to track your previous discussions in this regard. The problem is that I cant use assign varible to change the value of the variable inside the experiment and it returns “ERROR: can’t find a reference for “var[1]” for attribute “variable””. Where would the problem reside? Does MWorks support arrays?
Bests

Hi,

While MWorks does support array-like objects internally, such objects can’t be created or used directly in experiments. Adding support for direct access is on the to-do list, but I don’t know if/when that will actually happen.

If you can provide some details about what you’d like to use the array for, I may be able to suggest some alternative approaches.

Cheers,
Chris