unable to run "slexHARAndroidExample" file on simulink

2 vues (au cours des 30 derniers jours)
omar sheishaa
omar sheishaa le 5 Jan 2019
Hello All
i'm trying to run file "slexHARAndroidExampleslexHARAndroidExample " on simulink but with no joy, the details are in the below link
when i run it i got the below errors
Index exceeds array dimensions. Index value 0 exceeds valid range [1-2049] of array f.
Error in 'slexHARAndroidExample/extractFeatures' (line 133)
ofpk = f(olocs);
Error in 'slexHARAndroidExample/extractFeatures' (line 62)
Error in 'slexHARAndroidExample/extractFeatures' (line 16)
  1 commentaire
Usman Khan
Usman Khan le 23 Jan 2020
Hi,
did you figure out how to solve this problem?

Connectez-vous pour commenter.

Réponses (1)

Divyanshu
Divyanshu le 24 Sep 2024
I am assuming that you are refering the following example:
A possible reason can be missing toolboxes which are required for simulating this example successfully.
As per the above documentation following things are required to simulate this example successfully:
  • Statistics and Machine Learning Toolbox.
  • DSP System Toolbox
  • Signal Processing Toolbox
Once you install all these, then you should be able to simulate the example without any errors.
Hope it helps!

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by