title: Get dimensions for dataset matlab, Size Function
body: <p>Hello I have been trying to display the dimensions of a dataset, below is the following matlab code that i used...but it gives me the wrong output....i'e number of rows and columns values are wrong....any help regarding this issue would be highly appreciated</p>
  
  <pre><code>[file_input,pathname]  = uigetfile( ...
      {'*.txt', 'Text (*.txt)'; ...
      '*.xls', 'Excel (*.xls)'; ...
      '*.*', 'All Files (*.*)'}, ...
      'Select files');
  
      uiimport(file_input)
  
      [pathstr, name, ext, versn] = fileparts(file_input)
  
  
      r = size(name,1);
      c = size(name,2);
  
      disp(r) 
      disp(c)
  </code></pre>