How to get DataIndex array out of cursor_info?

9 vues (au cours des 30 derniers jours)
Neo
Neo le 10 Août 2019
Réponse apportée : jp HU le 27 Jan 2024
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

Réponse acceptée

Maadhav Akula
Maadhav Akula le 12 Août 2019
You can get the array by using the following command :-
A = [cursor_info.DataIndex]
Hope this helps!

Plus de réponses (1)

jp HU
jp HU le 27 Jan 2024
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

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by