title: export matlab output to an excel file with location specified for a range of data
body: <p>I want to export matlab output to an excel file starting from G2 column and for this the code i had written is exporting the data correctly but not to the desired location .It is printing in 21st number of rows rather than 2nd.
  the code is</p>
  
  <pre><code>ResultFile = xlsread('filename');
   sz= size(ResultFile,1); 
  b= num2str(sz+1);
   location = strcat('G2',b); 
  fprintf('value in location is %g\n',location); 
  xlswrite('filename',fnlarray,'Sheet1',location);
  </code></pre>