Borrar filtros
Borrar filtros

Unable to build mex file

3 visualizaciones (últimos 30 días)
William Crabb
William Crabb el 16 de Nov. de 2017
Respondida: Tony Mohan Varghese el 30 de Nov. de 2017
I've followed the Matlab example for creating a mex file from here https://uk.mathworks.com/help/matlab/matlab_external/standalone-example.html
When I run the command mex arrayProduct.cpp (the name of my file), I get the following error
Building with 'Microsoft Visual C++ 2017'.
Error using mex LINK : error LNK2001: unresolved external symbol mexfilerequiredapiversion arrayProduct.lib : fatal error LNK1120: 1 unresolved externals
I'm using Matlab 2015b 32-bit, with the 2017 C++ compiler. Is there some preliminary set-up required for making mex files that isn't mentioned in the matlab tutorial?

Respuestas (1)

Tony Mohan Varghese
Tony Mohan Varghese el 30 de Nov. de 2017

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by