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!