Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
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 comentarios
Sutanu Maiti
Sutanu Maiti el 6 de Mzo. de 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 el 6 de Mzo. de 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!

Respuestas (0)

La pregunta está cerrada.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by