Error In Optimization. "Supplied objective function must return a scalar value."
Show older comments
Hey, I am getting this error in my code. please check files. 1. "f_itera_c_4" 2. "chk"
Error: Supplied objective function must return a scalar value.
Answers (1)
Matt J
on 9 Nov 2018
0 votes
Chk.m does return a non-scalar when H>1.
Categories
Find more on Optimization Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!