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!