Help: Matlab case sensitive when accessing file on network drive but not locally

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by