Filesep error Unexpected Matlab expression
显示 更早的评论
Good morning,
i'm creating a script which will work on Unix and Windows so i need to solve the problem of different directory mode / \; i read i have to use filesep but matlab gives me error
I wrote
delete('Risultatigiorno' filesep '*.txt');
Unexpected MATLAB expression. Why?
I have another question, if i write
pathout='Risultatigiorno' filesep;
is it right? Thank you
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Filename Construction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!