title: Import same class globally
body: <p>I have a function file called <code>getFeatures.m</code> that looks like:</p>
  
  <pre><code>function [features] getFeatures()
    % Import the XPath classes
    import javax.xml.xpath.*
      % other code  
  end
  function [name] = getName()
    % Import the XPath classes
    import javax.xml.xpath.*
      % other code
  end
  </code></pre>
  
  <p>As you can see, both functions import xpath library, since I have a lot of functions that need to import that class how can I do this a single time?</p>