Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2011-01-31
年龄: 40
帖子: 4
声望力: 0 ![]() |
![]()
各位前辈,本人初次接触matlab,在使用fmincon函数后报告如下错误:
??? Error using ==> fmincon The constraint function mycon must return two outputs: the nonlinear inequality constraints and the nonlinear equality constraints. 意思是说我的那个非线性约束函数必须有两个输出值,但是在我的mycon函数里已经有了c和ceq了 为什么还报错呢 请前辈们指教,谢谢了 |
![]() |
![]() |