"Command not found" error while generating code with Embedded Coder

I am generating code for a Simulink project using Embedded Coder R2022b. I am receiving an error during the build process related to "gmake" that is causing the build to fail:
/usr/bin/sh: line 1: C:\HIGHTEC\toolchains\tricore\v4.9.2.0bintricore-gcc.exe: command not found gmake: *** [main.o] Error 127 esx4cma_make_rtw_hook: error ### Real-Time Workshop build procedure for model: 'model_name' aborted due to an error.
I installed MATLAB R2022b on a different machine and was able to build the model successfully. Why is this error occurring?

 采纳的回答

It appears that Windows-based paths are being executed from a UNIX-based shell. Similar issues have occurred due to installations of Cygwin or Msys2 interfering with the execution of the make command. Uninstalling these may resolve this issue. If removing these is not an option, try adding "SHELL=cmd" to your make command to specify a Windows-based shell. 

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品

版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by