I am trying to find statistical variations between upto 10 matrices. the idea is everytime I run my code via a pushbutton, a file containing a matix is loaded and then added to a multi-dimensional array via the 3rd argument that I call "page". At the end I perform elementwise statistics, but need the option to start again. Hence i have another button to "reset" the MDA. Im therefore declaring my multidimensional array MDA as global.
At the start iof my pushbutton function I have
Then in a reset pushbutton callback I have
But when I do a size on this,
page is 1.
I really need the reset to put page=0 as my MDA would otherwise contains zeros in the first page, unless there is a better way to do this