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.
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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.