How can I avoid errors due to division by zero in Simulink?
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
madhan ravi
am 10 Jan. 2024
1 Stimme
Or making the result to be zero when the divisor is zero using a Switch block
Kategorien
Mehr zu General Applications finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!