Comments on: Automatically add copyright information to your MATLAB files https://blogs.mathworks.com/pick/2011/12/30/automatically-add-copyright-information-to-your-matlab-files/?s_tid=feedtopost Jiro and Sean share favorite user-contributed submissions from the File Exchange. Sat, 04 Feb 2017 19:30:43 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: Jeff K https://blogs.mathworks.com/pick/2011/12/30/automatically-add-copyright-information-to-your-matlab-files/#comment-14394 Tue, 10 Jan 2012 18:43:50 +0000 https://blogs.mathworks.com/pick/?p=3056#comment-14394 Hi Jiro,

I concur with Sam Roberts that support for user-definable company strings (e.g. Acme, Inc.) would be great. The footer is a more agreeable location for such legalese than inline with the help text itself.

The directions he provided for editing the m2mxdom.m file work, but I am not in the habit of propagating edits to internal MATLAB files across our developer pool.

-jeff

]]>
By: Jiro Doke https://blogs.mathworks.com/pick/2011/12/30/automatically-add-copyright-information-to-your-matlab-files/#comment-14387 Tue, 03 Jan 2012 15:12:44 +0000 https://blogs.mathworks.com/pick/?p=3056#comment-14387 Hi Sam! It’s great to hear from you! Hope you’re doing well.

Oh wow, I didn’t know about that. Thanks for pointing that out. I’ll check on that enhancement.

And thanks for the reference to your blog. I just added your site to my RSS feed. Looking forward to your frequent posts. :)

Happy New Year!

]]>
By: Sam Roberts https://blogs.mathworks.com/pick/2011/12/30/automatically-add-copyright-information-to-your-matlab-files/#comment-14386 Sun, 01 Jan 2012 12:05:50 +0000 https://blogs.mathworks.com/pick/?p=3056#comment-14386 Hey Jiro,

Sam Roberts here – hope you remember me from MathWorks.

Nice post – and a nice tip about how the publish command will convert a copyright line into a nicely formatted footnote in the HTML.

Unfortunately, one of the things I’ve discovered since moving on from MathWorks is that this tip only works if you are at MathWorks! I had no idea until I tried publishing a script with another company’s title in the copyright line, but it’s true. It turns out that the string “The MathWorks, Inc.” is actually hardcoded into the publishing functionality!

PS My New Year’s resolution is to write my MATLAB blog much more frequently, so check back!

Happy New Year,

Sam

]]>