Hello,
I am trying to generate a warning when matlab divides by zero.
Running the following code:
warning on MATLAB:divideByZero1/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!
Best Answer