Waijung 2 is not compatible with MATLAB 2021b
Added by Supachai Vorapojpisut 2 months ago
- Waijung 2 version 20.11b
- MATLAB version 2021b
- Test with a new blank model with only Waijung 2 Target Setup block
- Error message
The call to esp32_make_rtw_hook, during the entry hook generated the following error:
Too many input arguments.
The build process will terminate as a result.
Caused by: Too many input arguments.
- Working with MATLAB 2021a
I modified targets\esp32\esp32_make_rtw_hook.m by adding argument buildinfo and restart MATLAB. It seem to be ok now.
function esp32_make_rtw_hook(hookMethod,modelName,rtwroot,templateMakefile,buildOpts,buildArgs, buildinfo )