Converting a MATLAB builtin function to C using MATLAB coder

1 回表示 (過去 30 日間)
Juan D Guerrero
Juan D Guerrero 2019 年 11 月 8 日
回答済み: Harsh 2025 年 2 月 23 日
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.

回答 (1 件)

Harsh
Harsh 2025 年 2 月 23 日
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

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by