Question: unassign indexed variables?

Dear all,

 

I have variables like: x1, x2, x3, x4, ...

I want to unassign all x? variables.

How can I do it?

 

I tried

 

for i from 1 to n_x do ... unassign('x||i') ... od:

 

but it does not work :(

Please Wait...