add author's name to MATLAB files

53 views (last 30 days)
Mehdi
Mehdi on 10 Sep 2014
Commented: Joseph Cheng on 10 Sep 2014
I would like to add the author's name and information to all my MATLAB files. I found a function for adding copyright to MATLAB files ( addcopyright ), but I want to have the author's information in separate lines as well. Is there anything available for this? Any suggestions?
Thanks in advance
  4 Comments
José-Luis
José-Luis on 10 Sep 2014
I am not sure about the legalities, but isn't it a bit difficult to copyright something based on proprietary software?
If you want to keep the software yours, you could always use p-code.
Joseph Cheng
Joseph Cheng on 10 Sep 2014
slightly on a similar topic, I wonder if there is setting to edit or change the "new mfile" creation that matlab does to input a standard header. sort of similar to what you can accomplish with the editorservices http://blogs.mathworks.com/community/2009/10/26/the-matlab-editor-at-your-fingertips/ perhaps the new with its custom text would be something that would do it.

Sign in to comment.

Answers (0)

Categories

Find more on Help and Support in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!