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
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 CenterFile Exchange 中查找有关 Discrete-Event Simulation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by