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?

Antworten (1)

shanshan xv
shanshan xv am 10 Apr. 2020

0 Stimmen

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

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 29 Jan. 2018

Kommentiert:

am 17 Jul. 2020

Community Treasure Hunt

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

Start Hunting!