I would like to know a method to share variables between Manipulate environments. I understand that the variables used in controllers are a kind of local ones and cannot be shared globally. So I 'copied' them (x[i]) to global variables (x2[i]) in this example code. However, it didn't work because the values of the local variables are not transmitted while symbols were soundly reflected. My question is how we can retrieve values of local variables in the controllers from outside.
Manipulate @@
Join[{{Table[x2[i] = x[i], {i, 1, 5}], Table[x2[i], {i, 1, 5}]}},
Table[{x[i], 1, 10, 1}, {i, 1, 5}]]
and
Manipulate[x2[i], {i, 1, 5, 1}]
x[1] is supposed to be 6.


x2[i]is not set and shows up asx2[1],x2[2],.... – N.J.Evans May 01 '20 at 13:18Blockwhich is used to explicitly localize the variable. – N.J.Evans May 05 '20 at 15:01Manipulatehas some kind of limitation, and Szabolcs' answer may provide me a nice clue. – Satoshi Oota May 07 '20 at 10:55