problem in running mex file

4 views (last 30 days)
I am unable to run the function InPolygon available at the Matlab webpage < https://www.mathworks.com/matlabcentral/fileexchange/20754-fast-inpolygon-detection-mex >.
I am getting error "Cannot find an exact (case-sensitive) match for 'InPolygon' "

Accepted Answer

Walter Roberson
Walter Roberson on 17 Dec 2018
Edited: Walter Roberson on 17 Dec 2018
cd to the directory that contains InPolygon_Test.m
Give the MATLAB command
mex InPolygon.c
Provided that you have a compiler set up, it will create the necessary DLL. You can then test with
InPolygon_Test
  5 Comments
Walter Roberson
Walter Roberson on 17 Dec 2018
Sorry, I should have named the .c not the .m

Sign in to comment.

More Answers (0)

Categories

Find more on Data Types in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!