matlab fullfile()函数

f = fullfile(‘dir1’, ‘dir2’, …, ‘filename’)  % fullfile构成地址字符串;

如:输入:f = fullfile(‘C:’,’Applications’,’matlab’,’fun.m’)
得到:f =C:Applicationsmatlabfun.m

原文地址:https://www.cnblogs.com/yibeimingyue/p/13521824.html