How to get DataIndex array out of cursor_info?
조회 수: 8 (최근 30일)
이전 댓글 표시
cursor_info.DataIndex() returns two answers. However, I don't know how to get the array out of the struct?
Thanks,
H
![Screen Shot 2019-08-09 at 8.48.18 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233422/Screen%20Shot%202019-08-09%20at%208.48.18%20PM.png)
댓글 수: 0
채택된 답변
Maadhav Akula
2019년 8월 12일
You can get the array by using the following command :-
A = [cursor_info.DataIndex]
Hope this helps!
댓글 수: 0
추가 답변 (1개)
jp HU
2024년 1월 27일
A = [cursor_info.DataIndex];
for i=1:2
emg = abs(variablename(:,i));
for x=1:5
a=inde(2*x);
b=inde(2*x-1);
fea.ABS (i,x) = mean (emg(a:b));
end
end
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!