MATLAB: Disable close button of Simulink model window

disable model close buttonsimulink

Is it possible to disable close button of simulink model window. Something similar to load_system,open_system

Best Answer

I believe this is not possible, but lets see what others think. I am however curious, what you like to achieve or avoid? Maybe there are other ways.
If a user closes a model on error, what is the impact in your case beside the need to open it again?
Related Question