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 个)

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

1 个评论

Hi Shanshan, did you find a solution ? I am facing the same problem atm.

请先登录,再进行评论。

类别

Community Treasure Hunt

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

Start Hunting!