lel Computing Toolbox, so launch a bunch of workers.</span>
0083     <span class="comment">% New version for MATLAB 2014a (I think) onwards.</span>
0084     <span class="keyword">if</span> isempty(gcp(<span class="string">'nocreate'</span>))
0085         pool = parpool(<span class="string">'local'</span>);
0086         wasOpened = true;
0087     <span class="keyword">end</span>
0088 <span class="keyword">end</span>
0089 
0090 <span class="comment">% Given our input time (in start_date), find the nearest tim