title: List files with MATLAB which are not .m files
body: <p>I can list all .m files in the current directory with this code: <code>dir(fullfile('.', '*.m'))</code>.</p>
  
  <p>But how to change the regular expression  that only files will be listed which have <strong>not</strong> the ending .m (files without "ending" should be included as well)?</p>
  
  <p>Any help will be appreciated! Thanks in advance!</p>