Highlight a number + Ctrl + Scroll in Matlab editor - bug or feature?
显示 更早的评论
I'm just curious about the background on the following feature I discovered yesterday in the Matlab editor:
Write a number in the Matlab editor. Highlight the number. Then press down Ctrl and use the scroll wheel on the mouse. It appears that the number is changing by +1 or -1 (depending on the direction of the scrolling), and that the entire code block is executed for every step.
I haven't found any documentation about this, and me and my colleagues have not agreed upon whether we think it is a bug or a feature... ? In some sense, it's improvising a for loop, but we can't really see how to use it efficiently.
It appears to be present in at least the 5 latest Matlab versions, and also on different platforms.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
