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
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!