Divide by Zero Warning
显示 更早的评论
Hello,
I am trying to generate a warning when matlab divides by zero.
Running the following code:
warning on MATLAB:divideByZero
1/0
still does not generate an error.
I cannot find any official documentation about this feature being phased out, and it doesn't throw an error or anything when I try to turn the warning on. Does anybody have any suggestions as to how to get a warning when you divide by 0?
Thanks in Advance!
采纳的回答
更多回答(1 个)
Walter Roberson
2019-2-21
0 个投票
R2009b started phasing it out.
There might not have been documentation that it is now gone completely, but it was gone by R2011a at latest.
类别
在 帮助中心 和 File Exchange 中查找有关 Signal Integrity Kits for Industry Standards 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!