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

1 visualizzazione (ultimi 30 giorni)
How can I find the path of one file knowing only filename?

Risposta accettata

Dishant Arora
Dishant Arora il 20 Mar 2014
Modificato: Dishant Arora il 20 Mar 2014
If its in one of the matlab path
fileparts(which(filename))
  1 Commento
Image Analyst
Image Analyst il 20 Mar 2014
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?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by