Simulink Coder: no such file or directory

5 vues (au cours des 30 derniers jours)
sishi li
sishi li le 2 Fév 2016
Réponse apportée : Akash le 8 Juil 2024
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

Réponses (1)

Akash
Akash le 8 Juil 2024
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:-

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by