An error occurred while running the simulation and the simulation was terminated Caused by: Reference to non-existent field 'Emin'.

조회 수: 1 (최근 30일)
When i run simulink i get this error
An error occurred while running the simulation and the simulation was terminated
Caused by:
Reference to non-existent field 'Emin'.
there is nothing called Emin in the program
hwo can i resolve this ?
  댓글 수: 6
Cris LaPierre
Cris LaPierre 2021년 7월 24일
There won't be a variable Emin alone. Note that the error message says "Reference to non-existent field 'Emin'." To me, this suggests a structure, like what you you have created. Perhaps one is not getting initialized correctly, or perhaps you have a typo in your model when you reference these structures?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by