- #1
brandy
- 161
- 0
How do you write error messages
for when a function has been given an input that is illogical for what the function does.
in matlab
function b = bla(a)
for example if a < 0
i want it to display a message
for when a function has been given an input that is illogical for what the function does.
in matlab
function b = bla(a)
for example if a < 0
i want it to display a message