platform compatibility - tips for automation?

조회 수: 1 (최근 30일)
James Russell
James Russell 2015년 4월 21일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Filename Construction에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by