Invalid connection betweenmessage and signal ports. (Simevents using MATLAB Discrete-Event System)
20 次查看(过去 30 天)
显示 更早的评论
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 个评论
Mo Zhao
2016-7-13
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete-Event Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!