error by similink external mode : gmake: *** No rule to make target `FAST_SFunc.obj', needed by `../OpenLoop.rxw64'. Stop.

1 visualización (últimos 30 días)
Hello, I try a simulink-model with s-function in the External mode to simulate. I get this error: gmake: * No rule to make target `FAST_SFunc.obj ', needed by` ../OpenLoop.rxw64'. Stop.
Please, does anyone have an idea how I could solve the problem. thank you
  2 comentarios
Giusy
Giusy el 13 de Jul. de 2017
Ciao David, I have the same problem. Did you solve it? How? Giusi
David Eduardo Garcia Luna Romero
David Eduardo Garcia Luna Romero el 2 de Nov. de 2017
I am having the same problem and have not been able to solve it yet. Were you able to solve this?
In my case it was when using an s-function from a solver.

Iniciar sesión para comentar.

Respuestas (1)

Pratik
Pratik el 17 de Jul. de 2024
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!

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