Hi, your case depends on the version of Matlab. As far as I know, there is a function named as "genvarname
" - "Construct valid variable name from string
". You can refer to the following website for the answer to your problem.