Adnan Ali
Adnan Ali

Reputation: 3055

how to stop Matlab figure from maximizing?

I want to disable the Maximize option of Matlab figure. enter image description here

Upvotes: 1

Views: 102

Answers (2)

Dev-iL
Dev-iL

Reputation: 24169

There's a figure property you need to change for that:

set(fHandle,'Resize','off');

Upvotes: 4

lakshmen
lakshmen

Reputation: 29064

The MATLAB File Exchange has WindowAPI, which does exactly what you're looking for.

You can crop the complete window border by:

WindowAPI(gcf, 'Clip', true);

Upvotes: 1

Related Questions