diff --git a/examples/matlab/runme.m b/examples/matlab/runme.m index c437442..1657436 100644 --- a/examples/matlab/runme.m +++ b/examples/matlab/runme.m @@ -44,7 +44,7 @@ mex(fullfile('..','..','src','openGJK.c'),... % Source of openGJK fullfile('-I..','..','include'),... % Folder to header files '-outdir', pwd,... % Ouput directory for writing mex function '-output', 'openGJK',... % Name of ouput mex file - '-DMATLABDOESMEXSTUFF',... % Define variable for mex function in source files + '-DMATLAB_MEX_BUILD',... % Define variable for mex function in source files silflag ) % Silent/verbose flag % File compiled without errors. Return path and name of mex file @@ -62,4 +62,4 @@ end % RUN EXAMPLE fprintf('Running example... ') main -fprintf('completed!\n') \ No newline at end of file +fprintf('completed!\n')