How do I find out the full path for a directory?
22 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 26 Feb 2018
Risposto: MathWorks Support Team
il 26 Feb 2018
I have the name of a directory, but I would like to find out its full path. How can I do that?
Risposta accettata
MathWorks Support Team
il 26 Feb 2018
You can use the "what" command. Please refer to the documentation here: <http://www.mathworks.com/help/matlab/ref/what.html>
>> s = what('myDir');
>> s.path
ans =
C:\path\to\myDir
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Files and Folders in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!