Getting error while using pow block in simulink

조회 수: 8 (최근 30일)
NEELAM VERMA
NEELAM VERMA 2022년 9월 9일
답변: Rushil 2025년 2월 20일
Result of power is undefined in simulation run

답변 (1개)

Rushil
Rushil 2025년 2월 20일
Hello
Sharing the code which caused this error will allow the community to help you better. Having said that, in general, undefined result in the “pow” block may occur due to the following reasons:
  • Raising 0 to a negative power.
  • Raising a negative number to a non-integer power results in a complex number, which may not be supported.
  • Ensure that no division by zero occurs in any calculations leading to the power operation.
You may try to investigate the input signals to the block, to see where such operations are carried out. To read more about the "pow" block, you may follow the documentation link below:

카테고리

Help CenterFile Exchange에서 Electrical Block Libraries에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by