Simulink.sdi.setPosition(pos) sets the
position and size of the Simulation Data Inspector window based on the values in the vector,
pos. The Simulation Data Inspector must be open before changing the
position or size of the window.
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 numeric array (default)
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.