How to include header information when printing code from the editor
29 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Antworten (1)
Leepakshi
am 13 Nov. 2025 um 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 Kommentare
Siehe auch
Kategorien
Mehr zu Software Development Tools finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!