出现LINK错误,无法解决

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

3 Comments

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

Sign in to comment.

Answers (1)

埃博拉酱
埃博拉酱 on 28 Oct 2024

0 votes

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

Categories

Asked:

on 10 Aug 2018

Answered:

on 28 Oct 2024

Community Treasure Hunt

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

Start Hunting!