An error occurred while running the simulation and the simulation was terminated Caused by: Reference to non-existent field 'Emin'.
1 view (last 30 days)
Show older comments
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
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?
Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!