  default model adapter).</span>
0025 <span class="comment">%</span>
0026 <span class="comment">% Output:</span>
0027 <span class="comment">%   model           ecModel with populated model.ec.eccodes</span>
0028 <span class="comment">%</span>
0029 <span class="comment">% Usage:</span>
0030 <span class="comment">%   model = getECfromDatabase(model, ecRxns, action, modelAdapter)</span>
0031 
0032 <span class="keyword">if</span> nargin &lt; 2 || isempty(ecRxns)
0033     ecRnxs = true(numel(model.ec.rxns),1);
0