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!