Converting a MATLAB builtin function to C using MATLAB coder

Im converting my file in in MATLAB coder and its saying that the 'lowpass' MATLAB method cannot be converted to C. How can i go about converting/ or rewriting the lowpass method? Thank you.

Respuestas (1)

The “lowpass” function is not supported for code generation in MATLAB. You can use a different approach to implement the low-pass filter. “butter” function is a good alternative to the “lowpass” function, and it is also supported for code generation. Please run the following command to understand more about “butter” function -
doc butter

Categorías

Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 8 de Nov. de 2019

Respondida:

el 23 de Feb. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by