How to compile cpp files to make mex files using visual c++ 2010 ?
显示 更早的评论
I am using MATLAB 2012b and I have both visual c++ 2010 and sdk 7.1 installed. But I am not able to create mex files.I get the following error:Error: 'SFunc_Load_MsgTblC.cpp' not found.
Error using mex (line 206) Unable to complete successfully.
1 个评论
Walter Roberson
2015-6-10
What command line are you giving to mex?
回答(1 个)
James Tursa
2015-6-10
0 个投票
The file SFunc_Load_MsgTblC.cpp needs to be in the current directory.
2 个评论
Prachi Geda
2015-6-10
James Tursa
2015-6-10
编辑:James Tursa
2015-6-10
But where is the file? It needs to be in the current directory or mex will not find it and give you the error message. What do you get when you type the following:
dir SFunc_Load_MsgTblC.cpp
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Compiler 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!