e GNU Public License Version 3.</span>
0044 <span class="comment">%   See &lt;https://www.gnu.org/licenses/gpl-3.0.en.html&gt; for details.</span>
0045 
0046 <span class="comment">% check input parameters</span>
0047 <span class="keyword">if</span> nargin &lt; 2
0048     error(<span class="string">'Not enough input arguments.'</span>)
0049 <span class="keyword">end</span>
0050 
0051 ip = inputParser;
0052 ip.CaseSensitive = true;
0053 
0054 <span class="comment">% required input arguments</span>
0055 <span 