ine"><a name="l00099"></a><span class="lineno">   99</span>&#160;  error(&#39;First argument must be a handle to a figure.&#39;);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;end</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;filename = varargin{2};</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keywordflow">if</span> ~ischar(filename)</div><div class="line"><a name="l00103"></a><span c