newm
No License
This function will create a new m-file with the headers already there, automatically filling out the current date, Matlab version, file name (if specified), and Author (in Windows, pulls the current Windows user). If given no input, a new untitled document will appear with the header filled in. If given a filename that doesn't exist, the file is created. If given a filename that already exists, user is prompted to "Add Headers", "Add Headers to All", or "Skip File". Input filename(s) can be char or cell string.
Cite As
M Koelemay (2024). newm (https://www.mathworks.com/matlabcentral/fileexchange/21985-newm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: M-file Header Template
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |