"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?

 採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 7 月 21 日

0 投票

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 ExchangeDeployment, 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