newm

Create new m-file(s) with headers already there, or add headers to existing m-file(s)

您现在正在关注此提交

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.

引用格式

M Koelemay (2026). newm (https://ww2.mathworks.cn/matlabcentral/fileexchange/21985-newm), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: M-file Header Template

类别

Help CenterMATLAB Answers 中查找有关 Share and Distribute Software 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0