Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Sutanu Maiti
Sutanu Maiti il 6 Mar 2019
Hi Danyang,
You can use MATLAB function block in Simulink model to write MATLAB code. Please find details in below example:
Also, you can use Array Plot block with Android devices. Please find details in below example:
Danyang Zhang
Danyang Zhang il 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!

Risposte (0)

Questa domanda è chiusa.

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by