Matlab coder error:All inputs must be constant

when I try to convert the function firls into C++ code,it shows function call failed , all inputs must be constant, and I really need to give the function different inputs, how can I define the inputs variable and convert it into C++ by Matlab coder?

回答 (1 件)

shanshan xv
shanshan xv 2020 年 4 月 10 日

0 投票

Have you solved this problem?I searched for a long time but couldn't find a solution

1 件のコメント

Bas van Eekelen
Bas van Eekelen 2020 年 7 月 17 日
Hi Shanshan, did you find a solution ? I am facing the same problem atm.

サインインしてコメントする。

カテゴリ

質問済み:

2018 年 1 月 29 日

コメント済み:

2020 年 7 月 17 日

Community Treasure Hunt

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

Start Hunting!