MATLAB: How to hide warnings

MATLABoutputwarnings

I do not want warnings to appear when i execute my code but i do not want to turn them off as well. Is this possible?

Best Answer

Recode so that the conditions warned about are not reached.
Turning warnings off is the way to not get them displayed. Perhaps you were meaning that you do not want to turn all warnings off? if that is the case then you can turn warnings off selectively.