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

15 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Matt J
Matt J el 9 de Nov. de 2018
Chk.m does return a non-scalar when H>1.
  2 comentarios
Matt J
Matt J el 9 de Nov. de 2018
Editada: Matt J el 9 de Nov. de 2018
Replace it with the scalar quantity that you are trying to minimize.

Iniciar sesión para comentar.

Categorías

Más información sobre Problem-Based Optimization Setup en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by