dpigen post-generation command failure

2 次查看(过去 30 天)
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

回答(1 个)

N A POORNA CHANDRA
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 个评论
Tsung-Chi Chang
Tsung-Chi Chang 2023-6-8
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

请先登录,再进行评论。

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by