use respnose optimization to tune current loop ,generate error must evaluate to real double vectors

hi gusy
i met a question when i use respnose optimization to tune current loop
generate an error like this :
Requirements, including custom requirements, must evaluate to real double vectors. The following cost function fields are invalid: Cleq.
my response requirements like this:
StepResp = sdo.requirements.StepResponseEnvelope;
StepResp.RiseTime = 0.02;
StepResp.SettlingTime = 0.08;
StepResp.PercentOvershoot = 10;
StepResp.FinalValue = 0.001;
StepResp.InitialValue = 0;
how can i solve this issue ,thanks guys
here its my project part:

Réponses (0)

Catégories

En savoir plus sur Simulink Design Optimization dans Centre d'aide et File Exchange

Question posée :

le 9 Mai 2026 à 3:38

Commenté :

le 9 Mai 2026 à 9:56

Community Treasure Hunt

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

Start Hunting!

Translated by