필터 지우기
필터 지우기

method “block.Set​PreCompOut​portInfoTo​Dynamic” in Level 2 S function

조회 수: 1 (최근 30일)
Owen
Owen 2012년 9월 27일
Hi,
In Level-2 S function there is a method “block.SetPreCompOutportInfoToDynamic” which sets the output properties to be inherited. I think it works fine for the case with only one input. What about the case with two inputs? From which input will the output be inherited?
Thanks Senmeis
  댓글 수: 2
Vikram
Vikram 2012년 9월 27일
It should depend on the way the inputs are evaluated for output calculation.
Consider a L-2 S Function which simply multiplies the values from its two input ports. The output properties would depend on the values passed in. For example, if one input port passes in a single input and other passes in a double input, the output would then implicitly be determined to be a double type.
Owen
Owen 2012년 11월 15일
Thank you very much.
Senmeis

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

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by