Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I have downloaded the code containing some .CPP files. However when I compile it using mex compiler VC, it is giving an error as

1 回表示 (過去 30 日間)
Mudassir Rafi
Mudassir Rafi 2017 年 8 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have downloaded the code containing some .CPP files. However when I compile it using mex compiler VC, it is giving an error as LINK : error LNK2001: unresolved external symbol mexFunction C:\Users\Debashis\AppData\Local\Temp\mex_PMSOHs\templib.x : fatal error LNK1120: 1 unresolved externals
C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Link of 'segment.mexw32' failed.
Thanks in advance
  1 件のコメント
James Tursa
James Tursa 2017 年 8 月 24 日
Is this code written as a mex routine? Or is it just some code you tried to compile with the mex command? Currently, the error is simply telling you that there is no gateway mexFunction in the code, so it is not a proper mex function. Maybe you are missing some files?

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by