MATLAB: Dynamic variable names in a loop

dynamic variables

hi,
i want to make new variables every time the user key in something. for example, the first user key in 'A', then i want it to be saved in x1. when the second user key in 'B', i want it to be saved in x2.