MATLAB Answers

How to get harmonic distortion measurements from spectrum analyzer block within Simulink?

2 views (last 30 days)
Danyang Zhang
Danyang Zhang on 6 Mar 2019
Commented: Danyang Zhang on 6 Mar 2019
I need to work on the harmonic distortion measurements and then deploy the simulink model to Android device. I can use getMeasurementsData in matlab code, but how do I do this in Simulink since matlab code cannot be deployed to Android?

  2 Comments

Danyang Zhang
Danyang Zhang on 6 Mar 2019
Hi Sutanu Maiti,
To use dsp.SpectrumAnalyzer function in Matlab function block, I need to call it as extrinsic, but it shows error 'The extrinsic function ... is not available for standalone code generation'. Could you please suggest me how to solve this problem?
Thanks!

Sign in to comment.

Answers (0)

Categories

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!