title: Matlab: Calling user defined function
body: <p>I am creating a user defined function in this manner</p>
  
  <pre><code>   function y=add(a)
  
     y=a*a;
  </code></pre>
  
  <p>Now, this function is in a separate .m file.</p>
  
  <p>I want to make use of this function but I am not getting it how to call it </p>
  
  <p>Do I need another .m file to call it? and #include the above .m file?</p>