Horizontal scroll wheel in Matlab

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

I have the same issue. Have you found a solution?
I know this is old, but did anyone find a solution?
Same problem...
Wow, so this issue dates back a few years, it seemed that it worked when I first used my MX Mater 3, but after a week or two, the horizontal wheel stopped working. I hope that this issue is resolved....someday from the looks of it.
This is very disappointning indeed. On Linux a horizontal scroll acts like a single left-click. I hope future versions fix this omission.
Use shift+vertical scroll to horizontally scroll
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.
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

Thanks for the fast answer, but I was talking about using the horizontal scroll wheel in matlab itself, not in something I programmed with matlab. Unless there is some way to change the code of matlab itself that I'm not aware of.
There is no support for horizontal scroll in MATLAB except in the matters I indicated.
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.
You should submit this as an enhancement request.

Sign in to comment.

Categories

Asked:

on 13 Dec 2016

Commented:

on 21 May 2024

Community Treasure Hunt

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

Start Hunting!