举例说明MATLAB的fullfile
2017-09-06 14:36
155 查看
用法实例
路径到文件
fullfile(matlabroot,'toolbox','matlab','general','Contents.m')
ans =
D:\Program Files\MATLAB\R2014a\toolbox\matlab\general\Contents.m
>> fullfile(toolboxdir('matlab'),'iofun',{'filesep.m';'fullfile.m'})
ans =
'D:\Program Files\MATLAB\R2014a\toolbox\matlab\iofun\filesep.m'
'D:\Program Files\MATLAB\R2014a\toolbox\matlab\iofun\fullfile.m'
路径到文件夹
fullfile(matlabroot,'toolbox','matlab',filesep)
ans =
D:\Program Files\MATLAB\R2014a\toolbox\matlab\
路径到文件
fullfile(matlabroot,'toolbox','matlab','general','Contents.m')
ans =
D:\Program Files\MATLAB\R2014a\toolbox\matlab\general\Contents.m
>> fullfile(toolboxdir('matlab'),'iofun',{'filesep.m';'fullfile.m'})
ans =
'D:\Program Files\MATLAB\R2014a\toolbox\matlab\iofun\filesep.m'
'D:\Program Files\MATLAB\R2014a\toolbox\matlab\iofun\fullfile.m'
路径到文件夹
fullfile(matlabroot,'toolbox','matlab',filesep)
ans =
D:\Program Files\MATLAB\R2014a\toolbox\matlab\
相关文章推荐
- 举例说明使用MATLAB Coder从MATLAB生成C/C++代码步骤
- 举例说明使用MATLAB Coder从MATLAB生成C/C++代码步骤
- 举例说明使用MATLAB Coder从MATLAB生成C/C++代码步骤
- 举例说明使用MATLAB Coder从MATLAB生成C/C++代码步骤
- 举例说明使用MATLAB Coder从MATLAB生成C/C++代码步骤
- 举例说明使用MATLAB Coder从MATLAB生成C/C++代码步骤
- 举例说明使用MATLAB Coder从MATLAB生成C/C++代码步骤
- 举例说明使用MATLAB Coder从MATLAB生成C/C++代码步骤
- 大地坐标的概念 大地坐标系的举例和说明分类
- 1.什么叫SQL注入?如何防止?请举例说明
- 举例说明数据库一、二、三及BCNF范式
- matlab的pca函数说明
- 对matlab中colormap的解释及fill、imshow的用法说明
- 关于MATLAB中imfilter函数的说明
- linux 2.6内核epoll用法举例说明(续)--给echo服务器增加读线程池
- 举例说明Linux不同网段访问的设置办法
- linux命令行运行matlab操作说明
- PL/SQL游标-(抄)详细说明举例
- UML类图符号 各种关系说明以及举例
- 举例说明用sql查询表1的某字段值包含在表2的某字段值内容里的记录(附表结构图)