Skip to content

Commit

Permalink
fix PKG_ADD mex name
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Sep 29, 2023
1 parent 73e9923 commit 408d695
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mcxlab/PKG_ADD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if(exist(file_in_loadpath('mcxcl.mex')))
autoload('mcxcl',file_in_loadpath('mcxcl.mex'))
if(exist(file_in_loadpath('mcx.mex')))
autoload('mcx',file_in_loadpath('mcx.mex'))
else
autoload('mcxcl',file_in_loadpath(['octave' filesep regexprep(computer('arch'), 'darwin[0-9.]+-', 'darwin-') filesep 'mcxcl.mex']))
autoload('mcx',file_in_loadpath(['octave' filesep regexprep(computer('arch'), 'darwin[0-9.]+-', 'darwin-') filesep 'mcx.mex']))
end

0 comments on commit 408d695

Please sign in to comment.