Virtual drive as current directory in MATLAB
2 views (last 30 days)
Show older comments
Hi,
I have created a virtual drive in OS command prompt using "subst" as Z. I need to set this Z as my current directory in MATLAB. However, MATLAB does not recognize the virtual drive created. Please give your inputs to solve this.
Thanks Nirmal
2 Comments
Jan
on 20 Dec 2011
Please post the complete relevant code, such we can reproduce the problem exactly - or find the bug in your code.
Accepted Answer
Jan
on 20 Dec 2011
Please try this from inside Matlab:
system('subst Z: /d')
system('subst Z: E:\Project')
cd Z:
More Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!