There could be a few reasons why MATLAB started opening figures with the Visible property set to 'off' by default:
- You may have accidentally set the default figure Visible property to 'off'. This can be done via:
set(0,'DefaultFigureVisible','off')
To revert this, simply set it back to 'on':
set(0,'DefaultFigureVisible','on')
- If you are opening figures programmatically (e.g. with openfig), the Visible property defaults to 'off'. You need to explicitly set it to 'on':
h = openfig('figure.fig');
- You may have some startup code or script that is preemptively setting the DefaultFigureVisible to 'off'. Check your MATLAB startup folder and scripts.
- There could be an issue with your MATLAB installation or preferences where it is defaulting figures to invisible for some reason. Try resetting preferences or reinstalling as a last resort.