Mapping Network Drives using Matlab

4 views (last 30 days)
john brice
john brice on 13 Apr 2012
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

Answers (1)

Jason Ross
Jason Ross on 13 Apr 2012
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.

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!