Date: Nov 29, 2012 8:39 AM
Author: Candace
Subject: save variables

Is it possible to save a variable with a specific name that is independently created? For example, I want the variable B to be saved as 'TargetS_Fixations'.

B=[1 2 3 4];
N1='TargetS';
N2='_Fixations';
N3=strcat(N1,N2);

Using the command "save N3 B" leads to variable B being saved with the name "N3". However, I want it to be saved with the name "TargetS_Fixations".

Thanks!