unable to run "slexHARAndroidExample" file on simulink

조회 수: 2 (최근 30일)
omar sheishaa
omar sheishaa 2019년 1월 5일
답변: Divyanshu 2024년 9월 24일
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
Usman Khan
Usman Khan 2020년 1월 23일
Hi,
did you figure out how to solve this problem?

댓글을 달려면 로그인하십시오.

답변 (1개)

Divyanshu
Divyanshu 2024년 9월 24일
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!

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by