function varargout = inifile(varargin) %INIFILE Creates, reads, or writes data from/to a standard ini (ascii) % file. Such a file is organized into sections % ([section name]), subsections(enclosed by {subsection name}), % and keys (key=value). Empty lines and lines with the first non-empty % character being ; (comment lines) are ignored. % % Usage: % INIFILE(fileName,'new') % Rewrites an existing file - creates a new, empty file. % % INIFILE(fileName,'write',keys,