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

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.

Respuestas (0)

Categorías

Productos

Preguntada:

el 17 de Mayo de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by