searching in an mfile
4 次查看(过去 30 天)
显示 更早的评论
hi
my main file read 26 other mfile and it needs to search the value of u_vec(9).
how can i do this fast?
thanks
1 个评论
Cedric
2013-7-24
编辑:Cedric
2013-7-24
What do you mean by "read"? Are you talking about Mfiles( .m extension) or files with the .mat extension? If it's the first case, what does it mean to search for the value of u_vec(9).. is its content hardcoded, e.g. you have somewhere u_vec(9)=27 written and you want to find 27 without having to run the code (e.g. by text pattern matching)?
回答(1 个)
Azzi Abdelmalek
2013-7-24
编辑:Azzi Abdelmalek
2013-7-24
In your matlab editor there is an icone called find files, use it to find all the m files that contains u_vec(9)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!