Open new editor window with template / header information

版本 1.0.0.0 (1.8 KB) 作者: Alexander Mering
This file opens a new window in the editor and prefills it with some template or header information.
298.0 次下载
更新时间 2013/9/26

查看许可证

On FEX, several header or template solutions are already known. To me, most solutions lack one problem: they copy a template file and open it. This has the side effect, that you either have to define the desired (new) filename first, or need to go via "Save-as" in order to save you work. Both cases are not that handy to use (to me).

In this solution, the function "NewFile_with_Header" simply opens an new window in the editor and fills in the template information. Since there is no copy of a template. this solution is more flexible in sense of saving the file.

Exemplary, the header information is completed by a user name and the current date.

引用格式

Alexander Mering (2024). Open new editor window with template / header information (https://www.mathworks.com/matlabcentral/fileexchange/43644-open-new-editor-window-with-template-header-information), MATLAB Central File Exchange. 检索来源 .

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

启发作品: insertTemplateHeader

Community Treasure Hunt

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

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