LQR and c2d not available with matlab coder.

10 visualizaciones (últimos 30 días)
Dean Montgermy
Dean Montgermy el 4 de Mzo. de 2020
Comentada: soepblik el 4 de Mzo. de 2020
Hi,
i have a matlab code with LQR and c2d function in it but matlab coder doesn't support those functions.
What is the best way to fix this? I search on the internet for the full written matlab algorithms of LQR and c2d but i couldn't find it..
thanks in advance!

Respuestas (1)

Darshan Ramakant Bhat
Darshan Ramakant Bhat el 4 de Mzo. de 2020
Unfortunately these two functions are not supported C/C++ code generation yet. I have made an internal request to support these functions in one of the future release.
The way to fix is to re-write the algorithm in MATLAB using the constructs / functions supported for code generation. You can refer to the below example document :
Hope this will help you.
  1 comentario
soepblik
soepblik el 4 de Mzo. de 2020
Hmm no this doesn’t answer my question. Is there a full written out function of lqr and c2d which i can use then instead?

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by