Functions | |
function | box (varargin) h |
if (nargs==0) if(strcmpi(box_state | |
endif | elseif (nargs==1) state |
if (ischar(state)) if(strcmpi(state | |
elseif (strcmpi(state,"on")) box_state | |
else | print_usage () |
endif | set (h,"box", box_state) |
Variables | |
box_state = get (h, "box") | |
nargs = numel (varargin) |
function box | ( | varargin | ) |
elseif | ( | strcmpi(state,"on") | ) |
if | ( | ischar(state) | ) |
if | ( | nargs | = = 0 |
) |
else print_usage | ( | ) |
nargs = numel (varargin) |