Variable in file name

1 view (last 30 days)
Zach
Zach on 13 Apr 2012
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

Robert Cumming
Robert Cumming on 13 Apr 2012
fname1=[a{1} helpDD{1} helpSS{1}]

More Answers (0)

Community Treasure Hunt

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

Start Hunting!