Mac OSX, collaborating with Windows users.

I am on Mac OSX, collaborating with Windows users. They do not otherwise have to work with OSX, and so commonly hard code filesep as '\', pathsep as ';', etc. To work with their code, I have to recast all such instances with the platform independent code (i.e. use filesep, pathsep functions, instead of hard codes).
This is awkward for collaboration and a tremendous waste of time. Is there some systematic way to get the differing path conventions handled automatically?
If not, why not? This surely happens a lot.

댓글 수: 1

Sindhu Yerragunta
Sindhu Yerragunta 2018년 1월 10일
편집: Sindhu Yerragunta 2018년 1월 10일
Hi Gabriele,
As far as I know there is no other way apart from using the filesep and pathsep to remove the platform dependency.
-Sindhu

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Search Path에 대해 자세히 알아보기

태그

질문:

2018년 1월 4일

편집:

2018년 1월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by