Open new editor window with template / header information

This file opens a new window in the editor and prefills it with some template or header information.
299 download
Aggiornato 26 set 2013

Visualizza la licenza

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.

Cita come

Alexander Mering (2025). Open new editor window with template / header information (https://it.mathworks.com/matlabcentral/fileexchange/43644-open-new-editor-window-with-template-header-information), 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 Environment and Settings in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: insertTemplateHeader

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