What is the command for making a brand new script, by an already existing script?
Show older comments
The command mkdir('folder name') creates a folder at current location. I search for the command that creates a script instead. (I wonder too where to read about it)
Accepted Answer
More Answers (1)
John D'Errico
on 23 Jan 2017
0 votes
There is no special command.
Just save a simple file. Use .m as the extension, and it will be interpreted as a script.
1 Comment
Walter Roberson
on 23 Jan 2017
The matter does, though, get more complicated for Live Scripts ('.mlx') files.
Categories
Find more on Programming 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!