disable close button of Simulink model window

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

 Accepted 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?

1 Comment

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

Products

Community Treasure Hunt

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

Start Hunting!