Warning('OFF','all') does nothing?

In my code I put:
warning('OFF','all')
and then I read some images and display them in a figure from within a loop. Every single iteration I get the WARNING message below. What is the point of the warning off command if I get a warning anyway?? I've tried various combinations of the above command and I get the error no matter what.
Warning: Image is too big to fit on screen; displaying at 67%
> In images.internal.initSize (line 71)
In imshow (line 336)
In MyDir (line 48)

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Release

R2018a

Tags

Asked:

on 18 Jan 2021

Edited:

on 18 Jan 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!