title: How to save the output values with each run in the same file in matlab
body: <p>I get two different (numeric and character )output values at each run, I want to save these value in a file in order to use them in another process. I saved them  in a struct of array then I saved them in (mat file) as follow:</p>
  
  <p>Sim(i).No
  Sim(i).Nam</p>
  
  <p>save('Sim', 'Sim")</p>
  
  <p>I want to saved these value at each run in the same file ... the problem is in the next run I get just the values of the last run.</p>