필터 지우기
필터 지우기

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

조회 수: 4 (최근 30일)
Norris
Norris 2016년 4월 26일
편집: Norris 2016년 4월 26일
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개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by