NewFile

版本 1.0.0.0 (5.3 KB) 作者: Michael Ryan
Create new file from template.
630.0 次下载
更新时间 2013/5/3

查看许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R2011b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0