Horizontal scroll wheel in Matlab

19 views (last 30 days)
Alexander Seidel
Alexander Seidel on 13 Dec 2016
Commented: Gabriel on 21 May 2024
I recently bought a Logitech MX Master computer mouse with an extra mouse wheel in the thumb area for horizontal scrolling. The horizontal scrolling works in all programs I have tried so far, like Excel, Notepad++ and Firefox. In Matlab I can't vertical scroll through any of the windows with that scroll wheel, not the editor, and not the variable display. Does anyone have a solution for this?
  8 Comments
Lia Tennant
Lia Tennant on 23 Jan 2024
Late to the game here, but I was able to get the horizontal scroll wheel on my Logitech MX Master to work in MATLAB by hovering the mouse over the horizontal scroll bar in the editor window, and then using the horizontal scroll wheel on the mouse. Scrolling the horizontal wheel should initiate horizontal scrolling in the editor window. Suprisingly, scrolling with the horizontal wheel then works everywhere else on the page!
Credit goes to AggieCrhis on a Microsoft forum from 2021--I originally had this problem in Excel and was pleasantly suprised that it worked in MATLAB, too :). Link to the Microsoft forum (https://techcommunity.microsoft.com/t5/excel/horizontal-scroll-wheel-useless-in-excel/m-p/148074) the comment is from April 14, 2021.
Gabriel
Gabriel on 21 May 2024
Amazing that this works

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 13 Dec 2016
It looks like potentially imscrollpanel() supports horizontal scroll; see http://undocumentedmatlab.com/blog/continuous-slider-callback
For more on how sliders are implemented in MATLAB see http://undocumentedmatlab.com/blog/sliders-in-matlab-gui
Other than that... nothing that I see at the moment.
  4 Comments
Ben
Ben on 14 Sep 2022
Any chance of this being implemented in MATLAB for the variable explorer, command window etc.? I guess not considering it has been 5 years without anything new.
Rik
Rik on 22 Sep 2022
You should submit this as an enhancement request.

Sign in to comment.

Categories

Find more on Desktop in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!