Problem with Making a Folder in Win10
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
I want to create folder 't2', but MATLAB throws a warning that 'Directory already exists', although the folder does NOT exist. What is the problem and how to solve it?
>> cd
C:\Users\User2\Desktop
>> exist('t2', 'dir')
ans =
       0
>> mkdir('C:\User\User2\Desktop\t2')
Warning: Directory already exists. 
>> exist('t2', 'dir')
ans =
       0
3 comentarios
  Walter Roberson
      
      
 el 9 de Abr. de 2018
				Dang, I specifically looked for that kind of problem and still managed to overlook it!
Respuestas (0)
Ver también
Categorías
				Más información sobre File Operations en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!