## page was renamed from OpenECU.mat file build error '''Q. My model has Simulink-based ASAP2 generation enabled, why am I getting the following build error?' ''' ### Unsuccessful Real-Time Workshop build procedure for model: Final_M670_Build_Model {{{ 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:__''' * 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 5.5.1.0, 5.8.0.0 & 5.9.0.0 .