Obtaining a path name and using it
Mostrar comentarios más antiguos
Hello!
I need some help with getting a path name of a created folder within a directory. The script will create a folder within a specified folder, but how do I get the path for the newly created folder?
Thanks
-Frank
Code
source_dir = uigetdir(); %Folder with the *.tif files
cd(source_dir); %Changes folder to chosen folder
mkdir('Target')
dest_dir(pathname)
Respuesta aceptada
Más respuestas (1)
Oleg Komarov
el 20 de Mayo de 2011
pathname = [cd filesep 'Target'];
1 comentario
Frank
el 20 de Mayo de 2011
Categorías
Más información sobre Search Path en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!