Zoom and Pan Models

Zoom the Displayed Size of a Model

You can enlarge or shrink the view of the model in the current Simulink® Editor window. To zoom in and out, use one of these approaches:

  • Select an item from the View > Zoom menu.

  • In the palette, drag the zoom button to the object that you want to zoom in on.

  • On supported multitouch gesture platforms, pinch or spread two fingers.

    In addition to the supported multitouch gesture platforms described in this section, other supported Simulink platforms that support multitouch gestures might support pan and zoom gestures. However, MathWorks® has tested only those platforms described in this section.

Pinch and Zoom Gestures on Windows Platforms

On Microsoft® Windows® platforms with a Windows 7 certified or Windows 8 certified touch display:

  • To zoom in (enlarge) an area in a model, spread two fingers on the monitor.

  • To zoom out (shrink), pinch two fingers.

Pinch and Zoom Gestures on Macintosh Platforms

On a Macintosh platforms with an Apple Magic Trackpad, hover over or select a block or signal line.

  • To zoom in (enlarge) an area in a model, spread two fingers on the track pad.

  • To zoom out (shrink), pinch two fingers.

Pan to Areas in a Model

You can pan (move horizontally or vertically) within a model, to display parts of the model that are not visible in a Simulink Editor window. To pan the display, use one of these approaches:

  • Move the scroll bars.

  • Hold down Spacebar while dragging the mouse.

  • Hold the mouse scroll wheel down and drag the mouse.

  • Shift+left arrow (or the right, up, or down arrow key). For finer panning, use the arrow key without pressing Shift.

  • On supported multitouch gesture platforms, drag two fingers left or right. The cursor disappears while you pinch or zoom.

    In addition to the supported multitouch gesture platforms described in this section, other supported Simulink platforms that support multitouch gestures might support pan and zoom gestures. However, MathWorks has tested only those platforms described in this section.

Pan Gestures on Windows Platforms

On Microsoft Windows platforms with a Windows 7 certified or Windows 8 certified touch display, drag two fingers on the monitor.

You can combine a panning gesture with a zooming gesture.

Disable Mouse Scroll Wheel Zoom Behavior

To enable the zoom behavior for the scroll wheel, select the File > Simulink Preferences > Editor Defaults > Scroll wheel controls zooming preference. If you press the Ctrl key and use the scroll wheel, the scroll wheel behavior is the opposite of how the preference is set.

On Macintosh platforms with an Apple Magic Trackpad, if you enable Scroll wheel controls zooming, a panning gesture causes zooming.

More About

Was this topic helpful?