NewFile

Create new file from template.
628 download
Aggiornato 3 mag 2013

Visualizza la licenza

This function will create a new file using the format from a template file. The available templates currently include scripts, functions, functions using an input parser, classes, and enumerations. The generated files can also be populated with information like date of creation, company, and author provided in a struct or .mat file. The template files are completely customizable and additional templates can easily be added.

Basic usage is simple:
newf myscript.m (script is the default type)
newf('myfunction.m','f')

This can be combined with BetterHelp as well, simply uncomment the line
%string = [string ,'%CUSTOM_HELP%'];
in newf.

Cita come

Michael Ryan (2024). NewFile (https://www.mathworks.com/matlabcentral/fileexchange/41624-newfile), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2011b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su File Operations in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0