another quick question about string read
1 view (last 30 days)
Show older comments
gesNum = 6;
I want to get modelsq_6 other than modelsq_gesNum by using : sprintf('%s_%s', 'modelsq', 'gesNum'); I know this is wrong way, so how should I do?
1 Comment
Jan
on 13 Feb 2013
@UTA: The documentation of sprintf does explain this clearly, so please read again:
help sprintf
doc sprintf
Accepted Answer
More Answers (1)
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!