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

1 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by