Azzera filtri
Azzera filtri

dpigen post-generation command failure

2 visualizzazioni (ultimi 30 giorni)
Tsung-Chi Chang
Tsung-Chi Chang il 8 Giu 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

Risposte (1)

N A POORNA CHANDRA
N A POORNA CHANDRA il 8 Giu 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 Commento
Tsung-Chi Chang
Tsung-Chi Chang il 8 Giu 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

Accedi per commentare.

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by