作exe文件遇到的问题
我用matlab gui做了个界面,通过可编辑框输入数据,再通过可编辑框和listbox输出数据
然后做成可执行文件
可是不行
mcc -B sgl sheji.m
lcc preprocessor warning: sheji.c:6522 EOF inside comment
Error sheji.c: 6521 syntax error; found `end of input' expecting `}'
Error sheji.c: 1093 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit26_Callback'
Error sheji.c: 1090 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit26_CreateFcn'
Error sheji.c: 1087 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_pushbutton6_Callback'
Error sheji.c: 1084 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_listbox2_Callback'
Error sheji.c: 1081 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_listbox2_CreateFcn'
Error sheji.c: 1078 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit25_Callback'
Error sheji.c: 1075 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit25_CreateFcn'
Error sheji.c: 1072 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit23_Callback'
Error sheji.c: 1069 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit23_CreateFcn'
Error sheji.c: 1066 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit22_Callback'
Error sheji.c: 1063 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit22_CreateFcn'
Error sheji.c: 1060 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit21_Callback'
Error sheji.c: 1057 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit21_CreateFcn'
Error sheji.c: 1054 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_listbox1_Callback'
Error sheji.c: 1051 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_listbox1_CreateFcn'
Error sheji.c: 1048 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_pushbutton5_Callback'
Error sheji.c: 1045 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit20_Callback'
Error sheji.c: 1042 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit20_CreateFcn'
Error sheji.c: 1039 undefined static `void function(pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162,pointer to incomplete struct mxArray_tag defined at D:\MATLAB6p5\extern\include\matrix.h 162) Msheji_edit19_Callback'
Error sheji.c: 1036 too many errors
MBUILD.BAT: Error: Compile of 'sheji.c' failed.
??? Error using ==> mbuild
Unable to complete successfully
??? Error: An error occurred while shelling out to mbuild (error code = 1).
Unable to build executable (specify the -v option for more information).
怎么回事啊,请指点一下,谢谢!