求助:matlab生成独立程序问题
实现一个非线性约束最优化问题 使用fmincon函数 编译时出现
Warning: File: fmincon Line: 371 Column: 42
The MATLAB Compiler does not currently support MATLAB object-oriented programming. References to the method "formula" will produce a run-time error.
Warning: File: optim/private/diagnose Line: 181 Column: 18
The MATLAB Compiler does not currently support MATLAB object-oriented programming. References to the method "formula" will produce a run-time error.
Warning: File: optim/private/nlconst Line: 498 Column: 17
"OLDF" has not been defined prior to use on this line.
Warning: File: optim/private/nlconst Line: 497 Column: 20
"MATX" has not been defined prior to use on this line.
Warning: File: optim/private/nlconst Line: 425 Column: 32
"ACTIND" has not been defined prior to use on this line.
Warning: File: optim/private/nlconst Line: 382 Column: 38
"howqp" has not been defined prior to use on this line.
Warning: File: optim/private/nlconst Line: 382 Column: 31
"SD" has not been defined prior to use on this line.
Warning: File: optim/private/nlconst Line: 310 Column: 34
The MATLAB Compiler does not currently support MATLAB object-oriented programming. References to the method "formula" will produce a run-time error.
Warning: File: optim/private/qpsub Line: 530 Column: 45
"ACTINDold" has not been defined prior to use on this line.
Warning: File: optim/private/qpsub Line: 529 Column: 24
"Xold" has not been defined prior to use on this line.
optim_private_nlconst.cpp
optim_private_nlconst.cpp(4745) : fatal error C1509: compiler limit : too many exception handler states in function 'Moptim_private_nlconst'. simplify function
MBUILD.BAT: Error: Compile of 'optim_private_nlconst.cpp' 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).
Error in ==> C:\MATLAB6p5\toolbox\compiler\mcc.dll
那位高手能指点下么