用matlab把m文件编译成exe程序时出现问题
在用matlab编译m文件时,我选用的是lcc编译器,但是出现下面问题:mcc-mjsq.mWarning:Executingstartupfailedinmatlabr...
在用matlab编译m文件时,我选用的是lcc编译器,但是出现下面问题:
mcc -m jsq.m
Warning: Executing startup failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup,
which should be resolved as soon as possible. Error detected was:
MATLAB:scriptNotAFunction
Attempt to execute SCRIPT find_system as a function:
C:\Program Files\MATLAB\R2008a\toolbox\simulink\simulink\find_system.m
> In matlabrc at 276
Input file <C:\Users\> named twice. Ignored.
cannot open c:\users\
C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Link of 'jsq.exe' failed.
Error: An error occurred while shelling out to mbuild (error code = 2).
Unable to build executable (specify the -v option for more information).
??? Error using ==> mcc
Error executing mcc, return status = 1.
请问大侠这是什么问题? 展开
mcc -m jsq.m
Warning: Executing startup failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup,
which should be resolved as soon as possible. Error detected was:
MATLAB:scriptNotAFunction
Attempt to execute SCRIPT find_system as a function:
C:\Program Files\MATLAB\R2008a\toolbox\simulink\simulink\find_system.m
> In matlabrc at 276
Input file <C:\Users\> named twice. Ignored.
cannot open c:\users\
C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Link of 'jsq.exe' failed.
Error: An error occurred while shelling out to mbuild (error code = 2).
Unable to build executable (specify the -v option for more information).
??? Error using ==> mcc
Error executing mcc, return status = 1.
请问大侠这是什么问题? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询