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?

Réponses (1)

shanshan xv
shanshan xv le 10 Avr 2020

0 votes

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

1 commentaire

Bas van Eekelen
Bas van Eekelen le 17 Juil 2020
Hi Shanshan, did you find a solution ? I am facing the same problem atm.

Connectez-vous pour commenter.

Question posée :

le 29 Jan 2018

Commenté :

le 17 Juil 2020

Community Treasure Hunt

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

Start Hunting!