How do I compile a .cpp when MATLAB can't find the perl script file mex.pl?

2 次查看(过去 30 天)
After running "mex -setup", I am getting this error while trying to compile a .cpp:
"Error: compilation of \util\spmtimesd.cpp failed : Can't open perl script "C:\Program Files\MATLAB\R2019a\bin\mex.pl": No such file or directory"
For reference, I am trying to run the demo from http://www.timotheecour.com/software/graph_matching/graph_matching.html
I'm unsure of how to fix this issue or find information online. Is there a package that is available with the perl script?
Installed:
MATLAB R2019a 64-bit 9.6.0.1072779
MinGW-W64 C/C++ compiler version 19.1.0
Microsoft C++ 2019

回答(1 个)

槟瑞 申
槟瑞 申 2021-1-14
Hi, do you solve this problem? I recently came across the same issue in the graph matching code.

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by