Simulink Coder: no such file or directory

5 ビュー (過去 30 日間)
sishi li
sishi li 2016 年 2 月 2 日
回答済み: Akash 2024 年 7 月 8 日
Hey there, I want to get a s-function with Simulink Coder out of a BMS_strategy_EJ04_Diagmodel. when i run the model,it tell me :"Error(s) encountered while building model "BMS_strategy_EJ04_Diagmodel"". The detail of the error message:
BMS_strategy_EJ04_Diagmodel.mk:171: D:/Program: No such file or directory
BMS_strategy_EJ04_Diagmodel.mk:171: Files/MATLAB/R2011b\rtw\c\tools\lcctools.mak: No such file or directory
gmake: *** No rule to make target `Files/MATLAB/R2011b\rtw\c\tools\lcctools.mak'. Stop.
Well, it seems the path in line 171 is not working right. so i hope you can help me to slove this problem. thank you !! yours miss Lee

回答 (1 件)

Akash
Akash 2024 年 7 月 8 日
Hi Sishi,
The error "No rule to make target" is typically thrown by the make/gmake build automation tool because it can't find the instructions on how to create a particular file or target. This issue often arises due to incorrect paths or missing files.
You can refer to the following MATLAB Answers post for more details on potential causes and solutions:-

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by