dpigen post-generation command failure

1 vue (au cours des 30 derniers jours)
Tsung-Chi Chang
Tsung-Chi Chang le 8 Juin 2023
Commenté : Tsung-Chi Chang le 8 Juin 2023
Hi,
I'm currently running R2017b matlab. I ran into an issue where it shows "Error evaluating the post generation command" Dynamic allocated array are not supported in DPI-C component. However, from the report, I didn't see any issue related to the code except for this error message. It seems to be related to the building process. It would be very much appreciated if there is a recommended mechanism to debug this issue such as more information and an insight on what might be a potential issue.
Thank you very much,
Tsung-Chi Chang

Réponses (1)

N A POORNA CHANDRA
N A POORNA CHANDRA le 8 Juin 2023
Hi chang try these steps
Check the post generation command make sure it doesn't reference any dynamic allocated arrays or unsupported constructs in the DPI-C component.
Review at the code generation report for any additional information or warnings related to the error.
Try updating your matlab version may be new versions would have fixed the bugs.
Try checking this documentation regarding dpigen
  1 commentaire
Tsung-Chi Chang
Tsung-Chi Chang le 8 Juin 2023
Hi,
Thanks for the quick response. Below is the only error I got from the report and the matlab compilation on the left side looks all clean. Could you suggest somehelpful post generation commands in this situation?
Best regards

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by