Is there a standard for writing the beginning comments of a matlab file?
<p>Is there a conventional format for writing the beginning description of a matlab file?</p>

<p>Such as including author(s), version number, last revised on, etc.</p>

<p>When I search for this all I find is info on <a href="https://www.mathworks.com/help/matlab/matlab_prog/comments.html?searchHighlight=matlab%20comments" rel="nofollow">comments themselves</a> or for <a href="http://blogs.mathworks.com/loren/2006/08/30/commenting-code/" rel="nofollow">commenting the help text for functions</a>.</p>

<p><strong>EDIT:</strong> <br>To clarify, I was wondering if there is a place to put authorship details of an entire simulation for example? I.e: Text that is not the function description / help text (which is also very useful and thank you all for providing details on that). </p>

<p>On mathworks I found info about the <a href="http://www.mathworks.com/help/matlab/matlab_prog/create-a-help-summary-contents-m.html" rel="nofollow">Contents.m file</a>. When used, it provides a summary of the program files, and version number. Have any of you used this file for including extra details such as authorship, location, etc?  </p>

<p>I was basically just thinking about other conventions such as in Java (I don't mean to compare the two, but just for added clarification of what I was looking for):</p>

<pre><code>/**
* The Foo program displays Hello World!
*
* @author  J Smith  &lt;&lt; A place to put these details?
* @version 1.0
* @since   2016-08-23
*/
public class Foo {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}
</code></pre>