Q. My model has Simulink-based ASAP2 generation enabled, why am I getting the following build error?'

Error using coder.internal.callMakeHook

The call to openecu_grt_make_rtw_hook, during the after_tlc hook generated the following error:

    Unable to read file

    'C:\Users\Desktop\M670_build_error_ITCA\M670_build_error_ITCA\Final_M670_Build_Model_r2018.2_64_oe_2.9.0_r2020_1_rtmodel\buildInfo.mat'.

No such file or directory

A. This issue is caused by invoking rtw.asap2MergeMdlRefs() during the model build process rather than after it has completed. It worked in older versions because the buildInfo.mat file was written earlier in the build process. We've updated the make rtw hook callback to write the file before the method is invoked.

Please contact support@openecu.com for assistance.

Affected Users:

      Copyright © 2016 Pi Innovo, All rights reserved