./up.png"></a></h2>
<div class="box"><strong>function bool = onoff2bool(onoff) </strong></div>

<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../../up.png"></a></h2>
<div class="fragment"><pre class="comment">ONOFF2BOOL        Substitutes 1 for 'on' and 0 for any other string.
   BOOL = ONOFF2BOOL(ONOFF) returns logical 1 if ONOFF is equal to the
   string 'on' and logical 0 otherwise.

   BOOL2ONOFF and ONOFF2BOOL improve readability for Matlab settings
   (e