Variable in file name

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!

 Accepted Answer

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

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!