出现LINK错误,无法解决

错误使用 mex LINK : error LNK2001: 无法解析的外部符号 mexfilerequiredapiversion test.lib : fatal error LNK1120: 1 个无法解析的外部命令

3 commentaires

zz zz
zz zz le 21 Sep 2018
我也有同样的问题,请问题主解决了吗?
miracle
miracle le 20 Oct 2018
我也有同样的问题
俊杰 王
俊杰 王 le 26 Oct 2020
I also have the sample question

Connectez-vous pour commenter.

Réponses (1)

埃博拉酱
埃博拉酱 le 28 Oct 2024

0 votes

编译MEX文件函数需要在链接时导入MATLAB静态库,通常在MATLAB安装目录\extern\lib下

Catégories

En savoir plus sur Parallel Computing Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!