Example"Human Activity Recognition Simulink Model for Smartphone Deployment" simulink error. Please help me!

2 Ansichten (letzte 30 Tage)
I try to simulate this example:
It show:
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)

Antworten (1)

Divyanshu
Divyanshu am 24 Sep. 2024
Hi Leo,
I am assuming that you are refering the following example:
A possible reason can be missing toolboxes and support packages 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
  • Simulink Support Package for Android devices.
  • Simulink Support Package for Apple iOS devices.
Once you install all these, then you should be able to simulate the example without any errors.
Hope it helps!

Kategorien

Mehr zu Android Devices finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by