First, everywhere where you have a warning msg, you can use an Identifier for this warning. For example:
warning('Battery:SOC','this is not logical - Warning')
At the beging of the script or even outside the function, you can use
warning off Battery:SOCAs simple as that, you won't see the warnings anymore and you don't need to change your code.
No comments:
Post a Comment