Where is the 'constr' function located?
이전 댓글 표시
Hi,
And I'm having the following error:
Undefined function 'constr' for input arguments of type 'char'.
The calling code is as follows:
x = pinv(A) *white;
whiteS = x + null(A) * constr('colorFun',zeros(N-3,1),options);
I thought the function was in the Optimization toolbox, but it actually doesn't looks like it.
Cheers,
Thomas
댓글 수: 1
Thomas Mansencal
2014년 10월 18일
편집: Thomas Mansencal
2014년 10월 18일
답변 (1개)
If the following link is talking about the same 'constr', it was replaced by fmincon some time ago
댓글 수: 2
Thomas Mansencal
2014년 9월 18일
Matt J
2014년 9월 18일
No, but you could write your own constr.m file that acts as a wrapper for fmincon, passing the input data to fmincon in the form that it expects.
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!