- In your Stateflow chart, open the Symbols Pane.
- Click on the 'New Message' button on the top of the Symbols Pane.
- Go back to our model. A new message Input Port should now appear for the Stateflow chart. Connect your simEvents entity or message to this port.
Invalid connection from output port 1 of 'Discrete-Event Chart' to 'Input Port 1' of 'Entity Gate'. Ports are not compatible and cannot be connected
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Laila El Warraqi
le 8 Nov 2022
Réponse apportée : Devesh Bhasin
le 10 Nov 2022
I have a simulink process with a Discrete Event Chart where I modeled machine failure. If the machine is in failure then the process stops and the entity gate closes, else the entity gate opens.
However, I keep getting the error of invalid connection, so the incompatibility between the output port of the discrete event chart (which i called MachineFailure) and the input port of the ENTITY GATE.
How can I solve this issue?
0 commentaires
Réponse acceptée
Devesh Bhasin
le 10 Nov 2022
This error sometimes shows up when a simEvents entity or message is connected to a Stateflow chart. If this is the case you, the following procedure should resolve this error:
I work at MathWorks and have conveyed the need of a clearer error message to the appropriate team.
If this does not resolve the issue, please create a case with the MathWorks Technical Support and share your model.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Discrete-Event Simulation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!