dpigen post-generation command failure

7 visualizaciones (últimos 30 días)
Tsung-Chi Chang
Tsung-Chi Chang el 8 de Jun. de 2023
Comentada: Tsung-Chi Chang el 8 de Jun. de 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

Respuestas (1)

N A POORNA CHANDRA
N A POORNA CHANDRA el 8 de Jun. de 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 comentario
Tsung-Chi Chang
Tsung-Chi Chang el 8 de Jun. de 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

Iniciar sesión para comentar.

Categorías

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

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by