Forums » Req. WJ2(ESP32) support »
Waijung 2 is not compatible with MATLAB 2021b
Added by Supachai Vorapojpisut about 3 years ago
Error status
- 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
Quick fix
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 )
Replies (1)
RE: Waijung 2 is not compatible with MATLAB 2021b - Added by Suphichaya Youngsubtargul (โอปอ) about 3 years ago
Hello Supachai,
Thank you for using Waijung and sharing the information.
Your feedback will be part of our development.
Best regards,
Suphichaya Youngsubtargul.