What is the green line between Simulink Function and Simevents blocks in this Matlab example
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
In the Simevents sample file accessed through the Matlab call below
open_system('TimeStampEntitiesUsingSimulinkFunctionModel');
shows a Simevents model where the Entity Generator and Entity Server call a Simulink function called timeStamp().
Visually in the block model the sumulink function and the two Simevents blocks are connected by a thin light green line. Note this is not an entity-flow line or a typical, e.g. as connected to a scope, data line. I'm not sure what the green line is but it at least visually connects elements. A related model copied below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/355462/image.png)
When I make my own model and call a similar function I don't get the line, though the function call seems to work.
- Is the green line functionally important? Seems not.
- How can I create this line to show the link between Simevents blocks and the function?
Thanks for any guidance
0 comentarios
Respuesta aceptada
Paul
el 3 de Sept. de 2020
2 comentarios
Abdolkarim Mohammadi
el 3 de Sept. de 2020
Just a side note: Depending on where the function is called, the line is connected to the beginning (Entry event), middle (Process completion event), or the end (Exit event) of the block.
Más respuestas (0)
Ver también
Categorías
Más información sobre Discrete-Event Simulation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!