In the webpage of mathwork, the polybuffer function supports the code generation capability using MATLAB coder.
But, when I generate the code containing polybuffer, the Coder error message appeared as "polybuffer is not supported for code generation".
How can I fix this problem?

 Réponse acceptée

Steven Lord
Steven Lord le 14 Mai 2025

0 votes

Can you confirm which release of MATLAB you're using? It appears that the C/C++ code generation support for polybuffer was added in release R2023a. If you're using an older release (not the release R2024b with which this question is marked) then you would need to upgrade to R2023a or later to generate code from polybuffer.

1 commentaire

YOUNSIL KIM
YOUNSIL KIM le 14 Mai 2025
Thank you for your kind answer. I may use the wrong version of MATLAB. Thank you very much!!!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Coder dans Centre d'aide et File Exchange

Produits

Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by