title: Cell operations in Embedded Matlab function
body: <p>I want to use cell operations in Embedded Matlab Function, but unfortunately it shows varargin and vararginout error. </p>
  
  <p>Here is my code. </p>
  
  <pre><code>%# Intialization
  for m = 1:365
      %# Some code
      a{m} = sum(b(:,1:144));
      c = cell2mat(a);         
      %# Size of a is 1200*365
  end
  </code></pre>
  
  <p>Is there any other method to solve this is in Embedded matlab function. My code is running good in normal editor window, but showing the above errors in embedded matlab function. </p>
  
  <p>Please Help..........</p>