savefilename = inputname(1); % No need for sprintf
save(savefilename, 'Data');
...
Data = load(FileName);
Now it ismuch safer and clearer to useData.ET1_A_l1 instead of assigningET1_Al1 directly. Imagine you use the name of a built-in function, e.g. "sin". Then loading this as variable directly will lead to a lot of troubles.
Best Answer