From e92a3e7cfc9f385411907d84cb20a7fe4f8ada2a Mon Sep 17 00:00:00 2001 From: Mattia Montanari Date: Mon, 17 Oct 2022 16:30:00 +0200 Subject: [PATCH] Update compiler definition --- examples/matlab/runme.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')