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

4 views (last 30 days)
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 Comments
Cris LaPierre
Cris LaPierre on 24 Jul 2021
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?

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!