Is there a function to make Simulink window fullscreen in Matlab if it is not?

21 views (last 30 days)
Hello everyone,
I am opening the model with script and I want it to be fullscreen, also need to autoscale is there any function to do that?
  1 Comment
Burak Bayram
Burak Bayram on 27 Oct 2017
for autoscale, I guess fit to view works, like;
set_param(gcs, 'Zoomfactor', 'fit to view')
set_param(gcs, 'Zoomfactor, 'fitSystem')
I don't know how to make it fullscreen tho.

Sign in to comment.

Accepted Answer

Birdman
Birdman on 27 Oct 2017
In your Simulink Model, go to File->Model Properties->Model Properties. Enter Callbacks and PostLoadFcn and type this:
set_param(gcs,'Location',get(0,'ScreenSize'));
  3 Comments
Birdman
Birdman on 27 Oct 2017
I actually do not know the reason for that. Maybe you can contact with the Mathworks Support Team for that.

Sign in to comment.

More Answers (0)

Categories

Find more on Programming 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!