Hello everybody,
Quick question, are there any specific characters that give error for 'assignin' in the variable name?
I am asking as the acceptability of a variable name looks random. In the latest trial I tried assigning a variable name as: '280617_SC_Ger' but I got an error. If I change this to 'SCGer_280617' it works.
Any Ideas?
Thank you for your answers!
%% Part of code of interest: assignin('base',sprintf('%s_Raw_Data',varname), output)
%% Error: Error using assignin Invalid variable name "280617_SC_Ger_Raw_Data" in ASSIGNIN.
Best Answer