How to add commented description on new scripts

조회 수: 6 (최근 30일)
Scott
Scott 2023년 2월 16일
댓글: Rik 2023년 2월 17일
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
John D'Errico 2023년 2월 16일
편집: John D'Errico 2023년 2월 16일
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
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
Les Beckham 2023년 2월 16일

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by