Simulink zoom / scroll problem on MacBook Pro trackpad

37 次查看(过去 30 天)
When I two-finger scroll on my trackpad to zoom a Simulink model, it zooms in and out rapidly and erratically. Moreoever, pinch-to-zoom produces no zooming effect.
This problem was noted here:
They advised disabling scroll-wheel zoom altogether with
File > Simulink Prefs > Editor defaults > Scroll wheel controls zooming preference.
However, the zoom feature is essential for fast model navigation.
I have tried twiddling various settings on the Mac Trackpad system preferences, no luck.
The following Mathworks doc claims that pinch-to-zoom and regular scroll-zoom should work, but it doesn't for me.
Has anyone solved this?
("Use a mouse" and "just click the zoom button" are not acceptable answers, since I don't want to lug a mouse around just for Matlab and having to click a button is a crappy UI constraint on something that should be natural.)
Thanks for your help.
  9 个评论
Joshua
Joshua 2025-2-28
移动:Walter Roberson 2025-2-28
I am having the same problem at the moment. Its disappointing to see that this bug is ten years old now. I am using MATLAB (SIMULINK) 2024a on a 2020 M1 Macbook Air.
A restart seems to fix the issue for a few hours at least.

请先登录,再进行评论。

回答(2 个)

Oladapo Akinro
Oladapo Akinro 2020-8-17
Shift + 2 fingers = horizontal scroll
Command + 2 fingers = vertical scroll
  3 个评论
Clement Hilty
Clement Hilty 2023-5-8
移动:Walter Roberson 2025-2-28
In the meantime, space+click and drag allows you to pan at any zoom level

请先登录,再进行评论。


InducibleWolerines
InducibleWolerines 2017-10-11
移动:Walter Roberson 2025-2-28
In R2017b, I disabled "scroll wheel zooming" via
Simulink > File > Simulink Preferences > Editor > "Scroll wheel controls zooming"
With this unchecked,
- Pinch-to-zoom does zoom, but it is delayed and suffers from low frame-rate.
- Two-finger-drag pans up/down.
- Shift-two-finger-drag pans left/right.
It would be better if two-finger-drag panned where I dragged.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by