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

20 vues (au cours des 30 derniers jours)
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 commentaire
Burak Bayram
Burak Bayram le 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.

Connectez-vous pour commenter.

Réponse acceptée

Birdman
Birdman le 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 commentaires
Birdman
Birdman le 27 Oct 2017
I actually do not know the reason for that. Maybe you can contact with the Mathworks Support Team for that.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by