How can I obtain a list of the drives available in MATLAB on the Windows machine?
    13 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    MathWorks Support Team
    
 il 27 Giu 2009
  
    
    
    
    
    Modificato: MathWorks Support Team
    
 il 31 Mag 2023
            I am using MATLAB on Windows. I would like to get a list of the drives (A:,C:,D:,E:, etc.) that are available on my computer.
Risposta accettata
  MathWorks Support Team
    
 il 31 Mag 2023
        
      Modificato: MathWorks Support Team
    
 il 31 Mag 2023
  
      This change has been incorporated into the documentation in Release 14 Service Pack 3 (R14SP3). For previous releases, read below for any additional information:
The ability to list the drives available on a Windows machine is not available in MATLAB.
To work around this issue, the GETDRIVES function is available for download from the MATLAB Central website and has this functionality. The file is available here:
Note that MathWorks does not guarantee or warrant the use or content of MATLAB Central submissions. Any questions, issues, or complaints should be directed to the contributing author.
0 Commenti
Più risposte (1)
  Eivind Hennestad
      
 il 25 Nov 2022
        Here is an alternative that lists all the available drives and provides some additional information in a table:
0 Commenti
Vedere anche
Categorie
				Scopri di più su Install Products 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!

