Help: Matlab case sensitive when accessing file on network drive but not locally
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have problems with Matlab's case sensitivity on a file path when I try to access a file over a network (to a NAS) but if I run the same code on another computer, the case sensitivity is not an issue.
My setup: I have 2 computers with Matlab 2013a Student.
Comp 1: Mac running Parallels with a Win 7 virtual machine accessing the file on NAS via ethernet cable Comp 2: Windows box with Win 7 accessing file locally
Code I am running on both machines
% file is named 'Test.txt'
infile = 'D:\test.txt'; % doesnt work on Comp 1 but works on Comp 2
infile = 'D:\Test.txt'; % works on both Comp 1 and Comp 2
exist(infile)
Matlab returns ans = 0 when I run the code on Comp 1 but I can confirm that the file path is correct. I can copy the 'infile' string and paste that into a windows explorer window and it opens fine. Just Matlab doesnt like the case sensitivity.
Does anyone have any suggestions on why the case sensitivity is ignored locally but not on the network/parallels?
And also any suggestions on how to get Matlab to ignore the case sensitivity on a network drive/parallels?
Thanks so much.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Licensing on Cloud Platforms 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!