出现LINK错误,无法解决

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

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

埃博拉酱
埃博拉酱 am 28 Okt. 2024

0 Stimmen

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

Kategorien

Gefragt:

am 10 Aug. 2018

Beantwortet:

am 28 Okt. 2024

Community Treasure Hunt

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

Start Hunting!