Simulink Coder: no such file or directory

5 visualizaciones (últimos 30 días)
sishi li
sishi li el 2 de Feb. de 2016
Respondida: Akash el 8 de Jul. de 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

Respuestas (1)

Akash
Akash el 8 de Jul. de 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:-

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by