Finding a variable between a a lot of m files
    3 views (last 30 days)
  
       Show older comments
    
    M.R. Ebrahimi
 on 15 Apr 2021
  
    
    
    
    
    Commented: Walter Roberson
      
      
 on 15 Apr 2021
            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
0 Comments
Accepted Answer
  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
  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.
More Answers (0)
See Also
Categories
				Find more on File Operations in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!