Skip to content

Commit

Permalink
update PKG_ADD to use locally compiled mex file first
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed May 20, 2022
1 parent 08bd437 commit 4b6a87e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion PKG_ADD
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
autoload('zipmat',file_in_loadpath(['octave' filesep computer filesep 'zipmat.mex']))
file_in_loadpath('zipmat.mex')
exist(file_in_loadpath('zipmat.mex'))

if(exist(file_in_loadpath('zipmat.mex')))
autoload('zipmat',file_in_loadpath('zipmat.mex'))
else
autoload('zipmat',file_in_loadpath(['octave' filesep computer filesep 'zipmat.mex']))
end

0 comments on commit 4b6a87e

Please sign in to comment.