如何创建一个列表或向量,其中原始文件名位于相应的数字旁边?
我将 12000 个不同的 .TXT 文件的名称转换为从 1 到 12000 的数字序列。使用 Matlab,如何创建一个列表或向量,其中原始文件名位于相应的数字旁边?
I converted the names of 12000 different .TXT files into a sequence of numbers from 1 to 12000. Using Matlab, how can I create a list or a vector with the original file name beside the corresponding number?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能想要创建一个元胞数组,因为它们可以同时存储数字和文本。创建数组的方式取决于存储文件名的方式。
You may want to create a cell array, since they can store both numbers and text at the same time. How you create the array depends on how you have stored the file names.