Error simulink external mode

7 次查看(过去 30 天)
David Kenko
David Kenko 2016-6-21
回答: Pratik 2024-7-17,9:39
Hello,
I have a problem by running a model (OpenLoop.mdl) with S-funtion in simulink external mode. This error appears:
gmake: * No rule to make target `SFunc.obj', needed by `../OpenLoop.rxw64'. Stop. ### Build procedure for model: 'OpenLoop' aborted due to an error. Error(s) encountered while building model "OpenLoop"
Please, has someone an idea? Thank you

回答(1 个)

Pratik
Pratik 2024-7-17,9:39
Hi David,
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 can happen for several reasons:
  1. Incorrect Path: Your project path, source file path and/or include folder path contains white spaces that the "make" tool cannot handle.
  2. Missing File: It could also mean that the indicated file is missing.
  3. Windows Character Length Limit: A long directory path name could also violate the Windows 256-character length limit and result in this error.
  4. Simulink Real-Time Character Length Limit: The error could be due to the third-party QNX compiler used by Speedgoat hitting the character length limit
Please refer to the following MATLAB Answer post for more detail:
I hope this helps!

类别

Help CenterFile Exchange 中查找有关 Classical Control Design 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by