MATLAB: How to get DataIndex array out of cursor_info

MATLABmatlab struct

cursor_info.DataIndex() returns two answers. However, I don't know how to get the array out of the struct?
Screen Shot 2019-08-09 at 8.48.18 PM.png

Best Answer

  • You can get the array by using the following command :-
    A = [cursor_info.DataIndex]
    Hope this helps!