disable close button of Simulink model window

2 views (last 30 days)
Is it possible to disable close button of simulink model window. Something similar to load_system,open_system

Accepted Answer

Andreas Goser
Andreas Goser on 30 Jan 2012
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?
  1 Comment
bimal raj
bimal raj on 31 Jan 2012
thank you Andreas..
model is opened by a matlab gui for editing using open_system function.
we want model to be closed only from the gui using close command.user shall not close the model by using model close button. gui is for change management, and tacking.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!