Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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 vue (au cours des 30 derniers jours)
Mudassir Rafi
Mudassir Rafi le 24 Août 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
James Tursa
James Tursa le 24 Août 2017
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?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by