Saturday, August 17, 2019

How to suppress Matlab warnings

by / Monday, 16 March 2015 / Published in Blog

In many cases Matlab produces different warnings. Some of them are useful, some are REALLY not. Such warning as "Warning: Image is too big to fit on screen; displaying at 50%" is really annoying and disrupts output in command window.

The Web is full of suggestions like providing initial magnification:


but that's not a cure, it only masks symptoms. To turn it (or any other warning) REALLY off just click on the uppermost link in inner matlab files that produced that warning, find warning ID like 'images:initSize:adjustingMag' and copy it into clipboard. Then add the following line to your script:


This will really suppress this Matlab warning and you will not see it any more.

Read 1987 times Last modified on Monday, 16 March 2015 10:30

Do you like this? Please share!

Simon Tushev

Simon is IT professional with interests in web design, electronics, photography and astronomy. He writes about PHP, Yii, Joomla!, Arduino and several other topics.


Here I publish articles related to my areas of interest, my brief notes that may save some time to others, as well as some of my works.

This site is a work in progress. I will add more sections in the future, such as

  • More photos to photogallery
  • More Joomla!-related articles
  • ...



New Posts

Spam/Forgery Notice

If you've received a spam email from, please know that this emails are...

07-03-2019 in Blog


Using dynamic GeoIP module with nginx (CentOS)

nginx introduced dynamic module support in v. 1.9.11. This brief article provides step-by-step procedure...

13-04-2016 in Linux, BSD, Unix


Visual difference between pseudo and true random data

This is is "random" image generated using PHP rand() function: And this is an image...

20-11-2015 in Blog

Scroll to top

We use cookies, just to track visits to our website, we store no personal details Privacy policy