How can I find the path of one file knowing only filename?

 Respuesta aceptada

Dishant Arora
Dishant Arora el 20 de Mzo. de 2014
Editada: Dishant Arora el 20 de Mzo. de 2014
If its in one of the matlab path
fileparts(which(filename))

1 comentario

You said " knowing only filename" so we assume that you know the filename. Why don't you know it? Or do you? It's not clear. Do you only think it might be there and have to try to find it somewhere?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 20 de Mzo. de 2014

Comentada:

el 20 de Mzo. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by