Identifying a file based on character
显示 更早的评论
Hello, I designed an experiment and I am preparing to write a script for data analysis, I want to select a file to process based on a condition (i.e. a set of characters in the file name). if the filename(001BL100XP0102.HWR) contains P01 then target cordinate is [24.000;13.000];
Any idea of how to write this code. Thanks in advance, I am still a learner
2 个评论
madhan ravi
2019-1-21
编辑:madhan ravi
2019-1-21
isn't it 10 and 12 ? ah so you want to assign coordinates if the filename contains the substring 'P01'?
Reuben Addison
2019-1-21
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!