Invalid connection betweenmessage and signal ports. (Simevents using MATLAB Discrete-Event System)
17 views (last 30 days)
Show older comments
I keep getting the error "Invalid connection between message and signal ports. Output port 1 of 'model' is not compatible with input port 1 of 'MATLAB System'. output Port 1 is an entity generator (bus object) while input port1 is a custom server using the MATLAB discrete event system. Am not sure what am missing.
1 Comment
Mo Zhao
on 13 Jul 2016
According to the situation you described, input port 1 of the custom server is recognized as a signal port instead of a message/entity port. When the entity type assigned to the port is empty in the method getEntityTypesImpl, the port is regarded as a signal port. You might need to fix this entity type. For details of the method, please refer to http://www.mathworks.com/help/simevents/ref/matlab.discreteeventsystem-class.html.
Answers (0)
See Also
Categories
Find more on Discrete-Event Simulation 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!