map.sba是 啥thumbdata3是什么文件啊

查看: 4394|回复: 6|关注: 0
C文件编译成Mex文件
我将文件sba.c和sba.h分别放置到工作目录:D:\MATLAB71\work\SBA下面,运行下面的指令,出现下面的信息:
&& mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc C version 2.4.1 in D:\MATLAB71\sys\lcc
[2] Microsoft Visual C/C++ version 6.0 in D:\Microsoft Visual Studio
Compiler: 1
Please verify your choices:
Compiler: Lcc C 2.4.1
Location: D:\MATLAB71\sys\lcc
Are these correct?([y]/n): y
Try to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R14SP3\mexopts.bat
From template:& && && && &&&D:\MATLAB71\BIN\win32\mexopts\lccopts.bat
Done . . .
***************************************************************************
&&Warning: The file extension of 32-bit Windows MEX-files was changed
& && && &&&from &.dll& to &.mexw32& in MATLAB 7.1 (R14SP3). The generated&&
& && && &&&MEX-file will not be found by MATLAB versions prior to 7.1.
& && && &&&Use the -output option with the &.dll& file extension to
& && && &&&generate a MEX-file that can be called in previous versions.
& && && &&&For more information see:&&
& && && &&&MATLAB 7.1 Release Notes, New File Extension for MEX-Files on Windows
***************************************************************************
&& cd d:/MATLAB71/work/SBA
&& mex sba.c
lcc preprocessor error: sba.c:29 Could not find include file &sba.h&
Error sba.c: 718&&undeclared identifier `SBA_OPTSSZ'
Error sba.c: 718&&integer expression must be constant
Error sba.c: 718&&undeclared identifier `SBA_INIT_MU'
Error sba.c: 718&&initializer must be constant
Error sba.c: 718&&undeclared identifier `SBA_STOP_THRESH'
Error sba.c: 718&&initializer must be constant
Error sba.c: 718&&initializer must be constant
Error sba.c: 718&&initializer must be constant
Error sba.c: 718&&too many initializers
Error sba.c: 719&&undeclared identifier `SBA_INFOSZ'
Error sba.c: 719&&integer expression must be constant
Error sba.c: 1051&&undeclared identifier `SBA_ERROR'
Warning sba.c: 1051& &possible usage of SBA_ERROR before definition
Warning sba.c: 1093&&indexing array info[5] out of bounds (1)
Warning sba.c: 1093&&indexing array info[6] out of bounds (1)
Warning sba.c: 1093&&indexing array info[1] out of bounds (1)
Warning sba.c: 1093&&indexing array info[7] out of bounds (1)
Warning sba.c: 1093&&indexing array info[8] out of bounds (1)
Warning sba.c: 1093&&indexing array info[9] out of bounds (1)
Warning sba.c: 719& &possible usage of SBA_INFOSZ before definition
Warning sba.c: 718& &possible usage of SBA_STOP_THRESH before definition
Warning sba.c: 718& &possible usage of SBA_INIT_MU before definition
Warning sba.c: 718& &possible usage of SBA_OPTSSZ before definition
13 errors, 11 warnings
&&D:\MATLAB71\BIN\MEX.PL: Error: Compile of 'sba.c' failed.
??? Error using ==& mex
Unable to complete successfully
我明明将sba.h放到了工作目录下,为何还是提示error: sba.c:29 Could not find include file &sba.h& ??我该怎么处理这种C文件里面包含其他.h文件的文件,才能将其成功转换出.mexw32文件来??
我尝试了,如果C文件不包含其他的.h文件通过上述方法是可以顺利转换的。
请大家指教!!
关注者: 2
回复 1# wwb624 的帖子
那 你把包含的.h文件也加入试试看
比方 mex&&1.c&&1.h
不知道可以不。
我试验过了,还是不行,错误和之前的一样
请问上述问题有什么其他可行的解决方式吗?
你把sba.c中的#include &sba.h&改成#include &sba.h&,但最后还是有问题,我现在sba的exe文件已经生成成功,matlab版本不知道怎么弄,继续研究
我最近也在做这方面的工作,我调用成功后不知道应该怎样将优化后的内参数输出来,求指教!&&或者一起讨论下
求问大家这个问题解决了么???我也碰到了一样的~
Powered by《全国聘礼地图》走红 网友直呼娶不起 在线观看_高清在线观看_百度视频
订阅精彩视频,请
&&努力加载中...
《全国聘礼地图》走红 网友直呼娶不起 在线观看『吧友求助』sba文件是什么啊,可以删到不_小米3吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
『吧友求助』sba文件是什么啊,可以删到不收藏
这些占了很大内存
可以删不?
太早了?没人?
我顶!!!
我也想知道。我失眠还没睡着呢。
个人认为没关系
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或}

我要回帖

更多关于 csv是什么文件 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信