Main Content
slreportgen.utils.getCurrentEditorView
Description
returns the current Simulink® Editor view area as a 1-by-4 array of doubles. The first two values of the
array are the x and y coordinates, in pixels, of the top left corner of the diagram area in
the Simulink Editor coordinate space. The last two values are the width and height, in
pixels.viewArea
= slreportgen.utils.getCurrentEditorView
Examples
Version History
Introduced in R2020a