马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
请路过的大侠多多指点
小女子正在用matcom实现matlab和VC的混合编程(用于图象处理)
将matlab的m文件导入VC出现下列错误提示:
#line 3 "c:/matlab7/work/matlibimage.m"
_ K = error(TM("'rgb2gray' was not found.\n\nIf it is a variable, make sure it is initialized before first use,\nfor example: rgb2gray=[];\n\nIf it is a m-file, please copy it to the current directory or add\nits directory to the matlabpath.\n") \
)(I);
#line 4 "c:/matlab7/work/matlibimage.m"
_ J = error(TM("'medfilt2' was not found.\n\nIf it is a variable, make sure it is initialized before first use,\nfor example: medfilt2=[];\n\nIf it is a m-file, please copy it to the current directory or add\nits directory to the matlabpath.\n") \
)(K);
#line 5 "c:/matlab7/work/matlibimage.m"
_ display( subplot(3.0,3.0,1.0) );
#line 5 "c:/matlab7/work/matlibimage.m"
_ imshow((CL(I)));
#line 6 "c:/matlab7/work/matlibimage.m"
_ se = error(TM("'strel' was not found.\n\nIf it is a variable, make sure it is initialized before first use,\nfor example: strel=[];\n\nIf it is a m-file, please copy it to the current directory or add\nits directory to the matlabpath.\n") \
)(TM("disk"),40.0);
#line 7 "c:/matlab7/work/matlibimage.m"
_ Itop = error(TM("'imtophat' was not found.\n\nIf it is a variable, make sure it is initialized before first use,\nfor example: imtophat=[];\n\nIf it is a m-file, please copy it to the current directory or add\nits directory to the matlabpath.\n") \
)(J,se);
#line 8 "c:/matlab7/work/matlibimage.m"
_ Ibot = error(TM("'imbothat' was not found.\n\nIf it is a variable, make sure it is initialized before first use,\nfor example: imbothat=[];\n\nIf it is a m-file, please copy it to the current directory or add\nits directory to the matlabpath.\n") \
)(J,se);
#line 9 "c:/matlab7/work/matlibimage.m"
_ Ienhance = error(TM("'imsubtract' was not found.\n\nIf it is a variable, make sure it is initialized before first use,\nfor example: imsubtract=[];\n\nIf it is a m-file, please copy it to the current directory or add\nits directory to the matlabpath.\n") \
)(error(TM("'imadd' was not found.\n\nIf it is a variable, make sure it is initialized before first use,\nfor example: imadd=[];\n\nIf it is a m-file, please copy it to the current directory or add\nits directory to the matlabpath.\n") \
)(Itop,J),Ibot);
请大侠多多指点,小女子不胜感激
[ 本帖最后由 范芳蕾 于 2006-10-3 09:32 编辑 ] |