Where is the 'constr' function located?
Ältere Kommentare anzeigen
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 Kommentar
Thomas Mansencal
am 18 Okt. 2014
Bearbeitet: Thomas Mansencal
am 18 Okt. 2014
Antworten (1)
If the following link is talking about the same 'constr', it was replaced by fmincon some time ago
2 Kommentare
Thomas Mansencal
am 18 Sep. 2014
Matt J
am 18 Sep. 2014
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.
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!