Merge pull request #32 from MattiaMontanari/31-cannot-make-it-work-for-matlab-under-ubunto20

Update compiler definition
fixes-turtlebasket
Mattia Montanari 2022-10-17 16:31:38 +02:00 committed by GitHub
commit ccd90cc811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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')
fprintf('completed!\n')