another quick question about string read
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Jan
2013-2-13
@UTA: The documentation of sprintf does explain this clearly, so please read again:
help sprintf
doc sprintf
采纳的回答
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!