How to add commented description on new scripts
显示 更早的评论
Does anyone recall how to have each new script open with an account name and date at the top as a comment? I used to have this set up until I updated and can no longer figure out how I did it.
回答(2 个)
John D'Errico
2023-2-16
编辑:John D'Errico
2023-2-16
1 个投票
It would certainly be easy enough to write a set of tools to do that for you. In fact, that may be what you were using.
It would also explain why you lost it when you upgraded MATLAB.
A good lesson there is to NOT store your own files and any downloaded files in the MATLAB supplied directories, since then you will lose them when you upgrade MATLAB.
1 个评论
Rik
2023-2-17
I personally have a post-install script that I run to add my utilities folder to the path and set the colors to a theme I prefer with Matlab Schemer.
Should anyone want to borow parts of it: I have attached the file as it is slightly too long to be reasonable for a comment.
Les Beckham
2023-2-16
0 个投票
Perhaps this answer will help you do what you want:
类别
在 帮助中心 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!