LQR and c2d not available with matlab coder.

조회 수: 14 (최근 30일)
Dean Montgermy
Dean Montgermy 2020년 3월 4일
댓글: soepblik 2020년 3월 4일
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!

답변 (1개)

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2020년 3월 4일
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
soepblik
soepblik 2020년 3월 4일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by