标签:point smi use func lap panel 扩展 jsm def
file = ‘H:\user4\matlab\myfile.txt‘;
[filepath,name,ext] = fileparts(file)
filepath = ‘H:\user4\matlab‘
name = ‘myfile‘
ext = ‘.txt‘
获取 Linux® 系统的用户 .cshrc
文件名的组成部分。
fileparts
将整个文件名解释为一个扩展名,因为它以句点开头。
[filepath,name,ext] = fileparts(‘/home/jsmith/.cshrc‘)
filepath = ‘/home/jsmith‘
name = 1x0 empty char array
ext = ‘.cshrc‘
标签:point smi use func lap panel 扩展 jsm def
原文地址:https://www.cnblogs.com/yibeimingyue/p/12156011.html