- Simply right click on the function name and you will see the following menu.

- You can click on Open "function name" and can easily see its path and its source code.
- For variables you can simply left click on its name and then all the occurences of that variable will get highlighted making it easy to navigate.
Code browsing on MATLAB
13 次查看(过去 30 天)
显示 更早的评论
How can I browse MATLAB code, like many IDEs exist to do so for other languages?
Especially to find among the files of a project the occurences of a fonction, of a variable, the declaration, etc. More than a simple find among the files.
0 个评论
回答(3 个)
Siraj
2022-7-4
编辑:Siraj
2022-7-4
Hii!
It is my undrestanding that you want to find code for a function, as they appear in your script, there is a very easy way in matlab to do this.
Hope it helps.
0 个评论
Image Analyst
2022-7-4
Type control-shift-F to bring up a search utility that will let you search multiple files and folders for a pattern.
0 个评论
Sébastien Ruiz
2022-7-5
1 个评论
Walter Roberson
2022-7-5
You might be interested in https://www.mathworks.com/help/matlab/matlab_prog/identify-dependencies.html
另请参阅
类别
在 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!
