필터 지우기
필터 지우기

Why does the cost function evaluate to NaN in the sensitivity analysis of my Simulink model?

조회 수: 2 (최근 30일)
Hello everyone,
I am conducting a sensitivity analysis of a Simulink model of a battery, but the value of the cost function for each sample is NaN (screenshot 1). I checked and the model is able to simulate with the various samples, therefore the NaNs are caused by the warnings (screenshot 2) and errors (screenshots 3 and 4) that appear in the command window once I evaluate the model. The problem is, I don't understand what they are trying to communicate. Do you have any idea on what these errors are saying? Do you have any idea on how to fix the problem?
NaNs.png

채택된 답변

Angelo Cheli
Angelo Cheli 2019년 4월 20일
Solved by updating to 2019a.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Control Design in Simulink에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by