필터 지우기
필터 지우기

What on earth is "hidden SEPropMediator block"?

조회 수: 2 (최근 30일)
Rob
Rob 2013년 9월 25일
답변: Georges G. 2023년 8월 19일
Hi,
I have a Simevents model. I have there two Set Attibute blocks. Both blocks get attribute value from Constant block. Constant value blocks get their values from workspace constants. Both values are matrixes (like [1x2] or [3x4]). One block works fine. The other one is L'enfant terrible.
During compile of the model I get this error message: Error in port widths or dimensions. Input port 192 of wsn_simulator_04/SEPropMediatorSESubgraph0' is a [1x2] matrix. This error message is related to a hidden SEPropMediator block. And this error is followed with: Error in port widths or dimensions. Output port 1 of 'wsn_simulator_04/Sensor node09/Const1' is a [4x2] matrix.
Can someone tell what is the mistake I'm doing? Thanks a lot.

채택된 답변

Devdatt Lad
Devdatt Lad 2013년 9월 25일
This is an internal-only error message and should have been re-worked before being displayed by the product. Please file a Tech Support ticket with a model snippet so that it can be fixed. Thanks.
The message is saying that you are trying to assign an attribute of size [1x2] with a value of size [4x2]. In SimEvents attributes have fixed sizes determined during compile. Somewhere in your model you are assigning an attribute (say "A1") with a [1x2] value and so the product records that the dimensions of A1 is [1x2] and will error out if any other block attempts to read/write a differently sized value from A1.
  댓글 수: 1
cc lia
cc lia 2016년 3월 11일
Please file a Tech Support ticket with a model snippet so that it can be fixed. Thanks I don't understand this sentence.Can you explain in detail how to solve this problem Thanks

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Georges G.
Georges G. 2023년 8월 19일
I've been having this same issue with the mediator prop. I haven't been able to resolve it other than with this issue.

카테고리

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