Help with optimization tool
Ältere Kommentare anzeigen
Hello,
I am new to MATLAB and I am using Optimization tool in MATLAB for a research project. when i try to optimize the following function
function y = test2()
y=zeros(1:4);
f=funVAMPzero(x);
a=f.a;
y(1)= (a(1));
y(2)=(a(2));
y(3)=(a(3));
y(4)=(a(4));
end
i get an error message saying too many input arguments. I have used f=funVAMPzero(x) to get variable from another m-file whose values i have to optimze.
Inputs on the issue would be very helpful. Thanks in advance!!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Multiobjective Optimization 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!