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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.