MATLAB: Designing a "Warm Start"

Posted by squall14414 on Stack Overflow See other posts from Stack Overflow or by squall14414
Published on 2011-01-12T01:54:18Z Indexed on 2011/01/12 2:54 UTC
Read the original article Hit count: 152

Filed under:

I'm currently coding a function in MATLAB that has two steps:

  1. It processes some data
  2. It does some calculations on the processed data

I'm using the function to run a series of experiments, where I tweak the way calculations occur in step 2).

Seeing how I'm working with a large dataset and the data processing step takes a while each time, however, I'm wondering whether there is anyway to code in a "warm start" in the function.

That is to say, is there anyway to save all the progress that I've done after step 1) so that if I run the function a second or third time, it can skip step 1) and go right to step 2)?

© Stack Overflow or respective owner

Related posts about matlab