I have the above chart ... .... where Previous_stage is an input data element to the chart from the chart that preceded it and its value is one. But when reading Previous_stage inside the chart, its reading is zero .. Please what is wrong
To use input data in a Stateflow chart from other charts or Simulink blocks, the symbol (variable) for the data must be resolved as input data type. This can be done in the Symbols Pane of the Stateflow chart.
The issue you are facing is because of the typo ‘Previous_satge’ instead of ‘Previous_stage’. This would have created another symbol in the Symbols Pane and will be treated as another input to the chart with a default value of zero.
Da Änderungen an der Seite vorgenommen wurden, kann diese Aktion nicht abgeschlossen werden. Laden Sie die Seite neu, um sie im aktualisierten Zustand anzuzeigen.
Translated by
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.