在MATLAB中重命名文件 [英] Renaming files in MATLAB
本文介绍了在MATLAB中重命名文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试以编程方式将工作目录中的文件从 a ='temp.txt'
重命名为 b ='hello.txt
。你会怎么建议呢?在MATLAB中有一个简单的文件重命名函数吗?
解决方案
我想你正在寻找MOVEFILE。 $ b
I'm trying to programmatically rename a file in the working directory from a = 'temp.txt'
to b = 'hello.txt'
. How would you suggest doing so? Is there an easy file renaming function in MATLAB?
解决方案
I think you're looking for MOVEFILE.
这篇关于在MATLAB中重命名文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文