 value, boolean or enumeration types (string or
int).

</p>
<p>
The software pattern is:

</p>
<pre style="width: 90%%;" class="examples">
function(a,&nbsp;b,&nbsp;c,&nbsp;varargin)
opt.foo&nbsp;=&nbsp;false;
opt.bar&nbsp;=&nbsp;true;
opt.blah&nbsp;=&nbsp;[];
opt.choose&nbsp;=&nbsp;{'this',&nbsp;'that',&nbsp;'other'};
opt.select&nbsp;=&nbsp;{'#no',&nbsp;'#yes'};
opt&nbsp;=&nbsp;tb_optparse(opt,&nbsp;varargin);
</pre>
<p>
Optional arguments to the function behave as follows:

</p>
<table class="list">
  <tr>