While MATLAB does not offer such a built-in feature, this behavior can be implemented using the 'KeyPressFcn' callback function of a figure.
As a demonstration of how to implement this feature, please refer to the example in the attached MATLAB file. Please download the file and run it in MATLAB. The number in the box displayed in the figure can be altered to any desired number to achieve the required jump size; by default, the step size is 24. To move the data cursor by 1, use the left/right arrow keys. To move the data cursor by the specified jump size, use the Alt+LeftArrow and Alt+RightArrow combination.
For details of the implementation, please refer to the file. The comments in the file give details about each line of code in the example.
For more information about the 'KeyPressFcn' callback function of a figure, please refer to the following link:
For more information about 'datacursormode', please refer to the following link:
Best Answer