Simulink error 'Reference to non-existent field 'form'.'
Ältere Kommentare anzeigen
I am working on a simulink model which previously ran without problems. I replaced one block and resolved the bugs that simulink indicated to me upon running the model (I could see the bugs nicely in the Diagnostic Viewer). When I run the model now, the Diagnostics is empty and all that appears is this error message:
An error occurred while stepping through the simulation and the simulation was terminated
Caused by:
- Reference to non-existent field 'form'.
There is no line or anything else indicated and I did not call any field or variable 'form', so I can't locate the problem. In case this information is useful, using the command 'lasterror' in the command window returns the identifier: 'Stateflow:translate:SFcnErrorStatus'. I am grateful for any hint on how to solve this issue.
2 Kommentare
Rachana Reddy Mamilla
am 30 Aug. 2018
what was the block you replaced and to what block?
eva_laura
am 30 Aug. 2018
Antworten (1)
GK
am 4 Sep. 2018
0 Stimmen
Hi, Two steps to this problem:
1. Is there any stateflow in your model? Please remove it and check simulation. Corrupt MATLAB may not be able to execute Stateflow blocks.
2. If it still throws that error, is there any s-function block in your model? Please remove it and check simulation.
Kategorien
Mehr zu Configure and View Diagnostics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!