Mapping Network Drives using Matlab

4 次查看(过去 30 天)
john brice
john brice 2012-4-13
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Communications Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by