quick question about string read
2 views (last 30 days)
Show older comments
I use 'sprintf' function get a string and store in a1 as follow: % a1 = sprintf('%s_%s', 'modelsq', '1');
I just want to load the mat file which name is modelsq_1, however, it is fail to do like this: % load a1; how should I do? thank you very much!
0 Comments
Accepted Answer
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!