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.
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 clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.