How to print the current model clipboard from matlab command and only those portion seen in the screen?

1 vue (au cours des 30 derniers jours)
The following code: hSys=get_param(gcs,'handle'); set(hSys,'PaperPositionMode','auto'); print hSys -dpng -r300 -s;
Prints the currently opened model but a complete view is avialable. I would like to print only those portion as observed in the screen but not all the perspective of the currently opened simulink model.
How to do this? Please remember: Only those portion as observed currently in the screen and NOT the complete overview. Can anyone help me on this. Thanks in advance.

Réponses (0)

Catégories

En savoir plus sur Programmatic Model Editing 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