Finding a variable between a a lot of m files

1 view (last 30 days)
Hi
I have a lot of .m files. I want to find a specific variable between them. I do not know in which .m file this variable exist. For example I have file1.m, code1.m and script1.m and I want to find worker between the m files. How can I find it?
Regards

Accepted Answer

Walter Roberson
Walter Roberson on 15 Apr 2021
In the main MATLAB command window, look on the HOME tab, in the ribbon, 5th entry is "Find files". Click on there and you will be given a search tool.
  2 Comments
M.R. Ebrahimi
M.R. Ebrahimi on 15 Apr 2021
Edited: M.R. Ebrahimi on 15 Apr 2021
Tnx, But I want to find inside the .m files. In this way, I can just find the m file name.
Walter Roberson
Walter Roberson on 15 Apr 2021
The tool shows the line the text appears on, and if you double-click the entry it will take you there in the editor.

Sign in to comment.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!