find specific parameter in multiple m-files
51 次查看(过去 30 天)
显示 更早的评论
Hi all,
I want to find the location of specific parameter in multiple m-files.
e.g i have 50 matlab files (*.m), and i want to find the location of " sigma " parameter.
now, i can open each file and do find (with ctrl+f) , but i looking for a faster way.
regards, Yoni.
3 个评论
per isakson
2014-10-28
I replace "mat files" by "m-files" in the question. mat-file is a different type of file (store data).
采纳的回答
Abhiram Bhanuprakash
2014-10-28
编辑:Abhiram Bhanuprakash
2014-10-28
Hi Yonatan,
Ctrl+Shift+f would open a 'Find Files' window. In that, you can search the parameter, in this case, 'sigma' in the 'Find files containing text' field. It would also give you the line numbers where that string appears in the files.
You can also open the 'Find Files' window by navigating to 'Find Files' under the home tab, or the menu Edit -> Find files depending on which version of MATLAB you are using.
Hope this answers your query.
Cheers!
Abhiram.
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!