フィルターのクリア

Unable to build mex file

3 ビュー (過去 30 日間)
William Crabb
William Crabb 2017 年 11 月 16 日
回答済み: Tony Mohan Varghese 2017 年 11 月 30 日
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?

回答 (1 件)

Tony Mohan Varghese
Tony Mohan Varghese 2017 年 11 月 30 日

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by