- 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.
Getting error while using pow block in simulink
15 ビュー (過去 30 日間)
古いコメントを表示
Result of power is undefined in simulation run
0 件のコメント
回答 (1 件)
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:
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:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Electrical Block Libraries についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!