How do I make a new folder and then name it using the string stored within a variable.
13 views (last 30 days)
Show older comments
I have named a variable s2. The string stored within s2 is '3 min RT'.
I want to create a new folder named "3 min RT".
At the moment when I use mkdir s2, the folder created is called s2 and not "3 min RT".
Anyhelp please? Thanks!
2 Comments
Answers (2)
Nicholas Byres
on 22 Jul 2019
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!