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 CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by