Simulink Coder: no such file or directory
5 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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:-
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!