Error In Optimization. "Supplied objective function must return a scalar value."

15 次查看(过去 30 天)
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.

回答(1 个)

Matt J
Matt J 2018-11-9
Chk.m does return a non-scalar when H>1.

类别

Help CenterFile Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by