Converting a MATLAB builtin function to C using MATLAB coder

1 vue (au cours des 30 derniers jours)
Juan D Guerrero
Juan D Guerrero le 8 Nov 2019
Réponse apportée : Harsh le 23 Fév 2025
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.

Réponses (1)

Harsh
Harsh le 23 Fév 2025
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

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by