gtw
gtw copied to clipboard
When I run 'demoToy.m', it can't be used.
Undefined function 'quadprog' for input arguments of type 'struct'.
Error in optQuad (line 42) x = quadprog(H, f, A, buc, [], [], blx, bux, x0, option);
Error in baTemFit (line 31) a = optQuad(qp, H, f, L, [], b, [], [], []);
Error in utw (line 45) as{i} = baTemFit(linspace(1, ns(i), l), bas{i}, 'matlab');
Error in demoToy (line 28) aliUtw = utw(Xs, bas, aliT);
How to fix it?