title: Adding Multiple Values to a Variable in MATLAB
body: <p>I have to work with a lot of data and run the same MATLAB program more than once, and every time the program is run it will store the data in the same preset variables. The problem is, every time the program is run the values are overwritten and replaced, most likely because all the variables are type double and are not a matrix. I know how to make a variable that can store multiple values in a program, but only when the program is run once.</p>
  
  <p>This is the code I am able to provide:</p>
  
  <pre><code>volED = reconstructVolume(maskAlignedED1,maskAlignedED2,maskAlignedED3,res)
  volMean = (volED1+volED2+volES3)/3
  
  strokeVol = volED-volES
  EF = strokeVol/volED*100  
  </code></pre>
  
  <p>The program I am running depends on a ton more MATLAB files that I cannot provide at this moment, however I believe the double variables strokeVol and EF are created at this instant. How do I create a variable that will store multiple values and keep adding the values every time the program is run?</p>