title: matlab: uigetfile with one or multiple files
body: <p>I have a stupid problem. I want to know how many files were selected after:</p>
  
  <pre><code>[fileName, pathName, filterIndex] = uigetfile({'*.*';'*.xls';'*.txt';'*.csv'}, 'Select file(s)', 'MultiSelect', 'on');
  </code></pre>
  
  <p>when there was more than 1, i can do 
  length(fileName); </p>
  
  <p>and its ok. But when there was only one selected, this gives me actual length of fileName (amount of chars) :/</p>