possible simulink bug during s function building.

1 visualización (últimos 30 días)
max
max el 20 de En. de 2013
Hi,
when I built a simple S-function, a message error appears:
"pwd is not recognized as an internal or external command, operable program or batch file".
If I built the s-function with another computer, it's all right. This error appears since I've trasported a simulink file from a platform D-space to my computer. It appears in every folder, I don't know why, it seems a virus.
Does everyone know what's appen?

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de En. de 2013
This is highly unlikely to be a virus.
That error message comes from MS Windows, and indicates that your program is attempting to use one of
!pwd
or
system('pwd')
or
dos('pwd')
pwd is not part of MS Windows. The above link shows how you can create a pwd.bat file.
You should try to track down why your code is attempting to call a system pwd routine.
pwd is a MATLAB routine, but the error message for not being able to find a routine as a MATLAB call is completely different.
  1 comentario
Kaustubha Govind
Kaustubha Govind el 21 de En. de 2013
Is it possible that dSPACE generated a Makefile or batch file with the "pwd" command? Note that the "pwd" command will work in Linux, but may not always work on Windows. I would also recommend creating a pwd.bat file as Walter recommended.

Iniciar sesión para comentar.

Categorías

Más información sobre Naming Conventions en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by