How can I avoid errors due to division by zero in Simulink?
古いコメントを表示
I am using a simple model in Simulink in which I use a division on two input values using a 'Divide' block.
During my simulation, there might be a zero value fed to the denominator of the 'Divide' block. This often causes a warning, an error message, or erroneous results.
How can I avoid these problems?
採用された回答
その他の回答 (1 件)
madhan ravi
2024 年 1 月 10 日
1 投票
Or making the result to be zero when the divisor is zero using a Switch block
カテゴリ
ヘルプ センター および File Exchange で General Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!