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!

 Réponse acceptée

Robert Cumming
Robert Cumming le 13 Avr 2012

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by