フィルターのクリア

Coder C2000 for simulink. Error >> gmake: *** No rule to make target (...) needed by `MW_c28xx_csl.obj'.

24 ビュー (過去 30 日間)
Pablo Q
Pablo Q 2021 年 6 月 23 日
回答済み: Pratik 2024 年 6 月 27 日
Hi,
I am trying to program a Texas microcontroller (F28335) with simulink. I have followed the tutorial from mathworks and everything seems to go well. However, when I go to the final step and clic on Build, simulink returns an error. I have matlab 2021a and all the add-ons and software required.They are all updated.
It is shocking because simulink generates the code and everything, but it does not program to cpu. This generated program can be imported with Code composer and then programmed on the cpu.
I have added the txt with the error, but as a summary:
C:\Users\Universidad\Desktop\Pruebas F28335\blink_LED_ert_rtw>if "" == "" ("C:\MATLAB\R2021a\bin\win64\gmake" -B DEPRULES=0 -j5 -f blink_LED.mk all ) else ("C:\MATLAB\R2021a\bin\win64\gmake" -B DEPRULES=0 -j5 -f blink_LED.mk ) gmake: *** No rule to make target `C:/Users/UNIVER~1/Desktop/Pruebas', needed by `MW_c28xx_csl.obj'. Stop. C:\Users\Universidad\Desktop\Pruebas F28335\blink_LED_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Users\Universidad\Desktop\Pruebas F28335\blink_LED_ert_rtw>exit /B 1 ### Build procedure for blink_LED aborted due to an error.
  2 件のコメント
Chetan Pawar
Chetan Pawar 2022 年 12 月 6 日
Facing the same issue. Any probable solutions?
Jaume Girona Badia
Jaume Girona Badia 2024 年 4 月 24 日
I just changed the folder where the project and the Matlab were located, and this problem completely disappeared. I would suggest you move everything to another folder and try again.

サインインしてコメントする。

回答 (1 件)

Pratik
Pratik 2024 年 6 月 27 日
Hi Pablo,
The error comes from gmake command. Looking at the error message a possible reason for the error can be the special character "~" in the path of target (C:/Users/UNIVER~1/Desktop/Pruebas).
Please try again after changing the path such that there is no special character and it might resolve the issue.
I hope this helps!

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by