MATLAB: Variable in file name

file nametext variablevariable

I have the following code: fname1=[a helpDD(1) helpSS(1)] where a – is a constant text, helpDD – is a variable text, helpSS – is a variable text. The result is: fname1 =
'Parnu_' 'SSW_' '5_10'
however, I need: 'Parnu_SSW_5_10' (all together), how could I get that?? Thank you!

Best Answer

fname1=[a{1} helpDD{1} helpSS{1}]