% biafra ahanonu
% example of dealing with options in matlab
% updated 2013.12.10

options.fileFilterRegexp = 'concatenated_.*.h5';
% get options
options = getOptions(options,varargin);
options
% unpack options into current workspace
fn=fieldnames(options);
for i=1:length(fn)
	eval([fn{i} '=options.' fn{i} ';']);
end