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 firstname.lastname@example.org for assistance.
- OpenECU - 2.9.0 - r2020-1
- MATLAB - All the versions supported by above mentioned OpenECU version
- Coder - Simulink and Embedded Coder
Compiler - GCC 4.7.3, Diab 220.127.116.11, 18.104.22.168 & 22.214.171.124