problem in running mex file

1 次查看(过去 30 天)
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' "

采纳的回答

Walter Roberson
Walter Roberson 2018-12-17
编辑:Walter Roberson 2018-12-17
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 个评论
Walter Roberson
Walter Roberson 2018-12-17
Sorry, I should have named the .c not the .m

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by