How to include header information when printing code from the editor
29 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hal Caswell
el 10 de Nov. de 2025 a las 21:35
Respondida: Leepakshi
el 13 de Nov. de 2025 a las 9:08
When I try to print an .m file from the Editor, it no longer allows me to include header information: the date and time, the path and the filename, and page numbers. The pdf files that are produced include no information. That's a disaster. Am I not looking in the right place?
Using Matlab 2025 update 1, on an intel Mac, OS Tahoe 26.0.1
Thanks.
1 comentario
Respuestas (1)
Leepakshi
el 13 de Nov. de 2025 a las 9:08
Hi Hal,
In MATLAB R2025a, this feature was discontinued as similar capabilities are now provided by the PDF viewer application after printing to PDF, making the original feature redundant. If you still wish to add timestamp information to your printed output, here are a few alternative methods you can try:
1) Include the timestamp in the PDF file name when saving the script, for example: 'yourfilename_June24_2025_3.16pm.pdf'
2) Create a custom print function that prepends a timestamp header to the script content before printing. You can then use this function instead of printing directly from the Editor.
0 comentarios
Ver también
Categorías
Más información sobre Software Development Tools 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!