if(exist(file_in_loadpath('zipmat.mex')))
    autoload('zipmat',file_in_loadpath('zipmat.mex'))
else
    autoload('zipmat',file_in_loadpath(['octave' filesep regexprep(computer('arch'), 'darwin[0-9.]+-', 'darwin-') filesep 'zipmat.mex']))
end
