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

 Réponse acceptée

Dishant Arora
Dishant Arora le 20 Mar 2014
Modifié(e) : Dishant Arora le 20 Mar 2014
If its in one of the matlab path
fileparts(which(filename))

1 commentaire

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?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Variables dans Centre d'aide et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by