pos = Simulink.sdi.getPosition returns a
four-element vector in the form [left bottom width height] indicating the
position and size of the Simulation Data Inspector window. If the Simulation Data Inspector
is not open, Simulink.sdi.getPosition returns [0 0 0
0].
Alternatively, you can move and resize the Simulation Data Inspector manually. To use this placement in future simulations, retrieve the position vector using the function Simulink.sdi.getPosition.
pos — Position and size of Simulation Data Inspector [left bottom width height]
Position and size of the Simulation Data Inspector window, specified as a
four-element vector in the form [left bottom width height]. All
measurements have units of pixels.
Element
Description
left
Distance from the left edge of the primary display to the inner-left edge
of the window. This value can be negative on systems that have more than one
monitor.
bottom
Distance from the bottom edge of the primary display to the inner-bottom
edge of the window. This value can be negative on systems that have more than
one monitor.
width
Distance between the right and left inner edges of the window.
height
Distance between the top and bottom inner edges of the window.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.