MATLAB 帮助中心
当前平台的文件分隔符
f = filesep
f = filesep 返回特定于平台的文件分隔符。文件分隔符是分隔路径中各个文件夹和文件名的字符。
f
示例
全部折叠
在 Microsoft® Windows® 平台上创建指向 iofun 文件夹的路径。
iofun
iofun_dir = ['toolbox' filesep 'matlab' filesep 'iofun']
iofun_dir = 'toolbox\matlab\iofun'
在 Linux® 平台上创建指向 iofun 文件夹的路径。
iofun_dir = 'toolbox/matlab/iofun'
全部展开
用法说明和限制:
基于进行代码生成时使用的 MATLAB® 版本返回文件分隔符。
backgroundPool
ThreadPool
此函数完全支持基于线程的环境。有关详细信息,请参阅在基于线程的环境中运行 MATLAB 函数。
在 R2006a 之前推出
fullfile | fileparts | pathsep
fullfile
fileparts
pathsep
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处