网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
07月04日漏签0天
matlab吧 关注:291,786贴子:1,658,203
  • 看贴

  • 图片

  • 吧主推荐

  • 游戏

  • 1回复贴,共1页
<<返回matlab吧
>0< 加载中...

matlab编译c文件错误,求助

  • 取消只看楼主
  • 收藏

  • 回复
  • 灰尘大本营
  • 1L喂熊
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
>> mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? n
Select a compiler:
[1] Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[2] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[3] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 Shell linker)
[4] Intel Visual Fortran 10.1 (with Microsoft Visual C++ 2005 SP1 linker)
[5] Microsoft Visual C++ 2005 SP1
[6] Microsoft Visual C++ 2008 Express
[7] Microsoft Visual C++ 2008 SP1
[8] Microsoft Visual C++ 2010
[9] Microsoft Visual C++ 2010 Express
[0] None
Compiler: 9
The default location for Microsoft Visual C++ 2010 Express compilers is C:\Program Files\Microsoft Visual Studio 10.0,
but that directory does not exist on this machine.
Use C:\Program Files\Microsoft Visual Studio 10.0 anyway [y]/n? y
Please verify your choices:
Compiler: Microsoft Visual C++ 2010 Express
Location: C:\Program Files\Microsoft Visual Studio 10.0
Are these correct [y]/n? y
***************************************************************************
Warning: MEX-files generated using Microsoft Visual C++ 2010 require
that Microsoft Visual Studio 2010 run-time libraries be
available on the computer they are run on.
If you plan to redistribute your MEX-files to other MATLAB
users, be sure that they have the run-time libraries.
***************************************************************************
Trying to update options file: C:\Users\fangchenhui\AppData\Roaming\MathWorks\MATLAB\R2010b\mexopts.bat
From template: E:\matlab\bin\win64\mexopts\msvc100freeopts.bat
Done . . .
**************************************************************************
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the new
API. You can find more information about this at:
http://www.mathworks.com/support/solutions/en/data/1-5C27B9/?solution=1-5C27B9
Building with the -largeArrayDims option enables the new API.
**************************************************************************
>> compile_mex_codes
Error: Could not find the compiler "cl" on the DOS path.
Use mex -setup to configure your environment properly.
E:\MATLAB\BIN\MEX.PL: Error: Unable to locate compiler.
??? Error using ==> mex at 208
Unable to complete successfully.
Error in ==> compile_mex_codes at 1
mex ac_tridiagonal_Thomas_dll.cpp
这里的compile_mex_codes是一个编译c程序的.m文件


  • 灰尘大本营
  • 1L喂熊
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
大神快来帮帮忙,弄了好几天了


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 1回复贴,共1页
<<返回matlab吧
分享到:
©2025 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示