how to add custom header to each file ?
27 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How can i add custom header to each file in my project ? details like author, data created, short description about code etc.
2 comentarios
Timothy Stewart
el 17 de Sept. de 2018
Editada: Timothy Stewart
el 17 de Sept. de 2018
Good read, Unfortunately does not mention classes, nor packages. +package/@class.
Respuestas (2)
Dhruvesh Patel
el 20 de Mzo. de 2017
I assume that you are looking for a way to automatically add metadata like author name, version, description, etc., to a .m file.
For that purpose, there are several MATLAB Central code submissions as mentioned below, which you could download and use directly or modify for your exact use-case.
- Generate a new function m-file, with documentation
- Add copyright information to an m-file or group of m-files
I hope this is what you were looking for.
0 comentarios
David Legland
el 19 de Jul. de 2024
As a (late) follow-up, one may mention the "tedit" contribution by Peter Bodin, that I found both simple and convenient.
Based on this contribution, I later developped a set of tools for easily generate new classes, new scripts, or new unit-test files:
Another resource is the Editor Template Package, by Sean de Wolski, but I found it less simple to use.
0 comentarios
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!