Mapping Network Drives using Matlab

Does matlab have the ability to map network drives. I have seen VBscripts that can do this using "network objects." Is there a way for matlab to either:
1] Mab/Unmap drives using its own way to create "network objects" or 2] Have matlab excecute the VBScript, even if the script has to be made into an executable.
thanks -jb

Risposte (1)

Jason Ross
Jason Ross il 13 Apr 2012

1 voto

You can use the system() command to shell out and execute the script. You can even just do the "net use" from the system() call.

Richiesto:

il 13 Apr 2012

Community Treasure Hunt

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

Start Hunting!

Translated by