필터 지우기
필터 지우기

Signal dimensions inside a simulink function

조회 수: 1 (최근 30일)
Eleni T
Eleni T 2022년 10월 29일
댓글: Eleni T 2022년 11월 10일
Hello,
I am using a simulink function, with arguement outports to be used in an entity generator block. The arguement outports give the option for the port dimensions to be (inherited), scalar N or matrix [nxm]. However, when i insert the option of inherited, i get the error "The argument output block 'Name' must fully specify its dimension.
Does anyone have any idea about this?
Thank you

답변 (1개)

Paul
Paul 2022년 10월 29일
Based on the error message, it sounds like you'e requried to specify the dimensions of that outport. Do you know what the dimension for the outport should be? If so, have you tried specifying it explicitly as the error message suggests?
  댓글 수: 3
Paul
Paul 2022년 10월 29일
In the Property Inspector you can specify the Size of the outport with a workspace variable. The you'll need to update the value of the workspace variable to be consistent with the size of the input.
Eleni T
Eleni T 2022년 11월 10일
Okay i can try that. thank you very much!

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

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by