如何对matlab (.m)文件进行最佳/最简单的索引?
23 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
果博东方注册网址【80877.tv】
il 24 Ago 2022
Risposto: 新锦江娱乐开户中心【微959758504978】
il 24 Ago 2022
我需要搜索一大组matlab (.m)文件,但在Google Desktop中找不到这样做的方法。我也没有看到任何支持matlab的源代码索引器。
我有什么选择?
0 Commenti
Risposta accettata
新锦江娱乐开户中心【微959758504978】
il 24 Ago 2022
这应该允许您在MATLAB中搜索一系列文件或文件夹。
上一个答案:
如果您只是尝试查找m文件,而不是在其中进行搜索,那么以下内容可能会有所帮助……
例如,如果我想查找名称为"display“的所有重载函数,我可以这样做:
>> which display -all
built-in (C:\Program Files\MATLAB\R2009a\toolbox\matlab\lang\@cell\display) % cell method
built-in (C:\Program Files\MATLAB\R2009a\toolbox\matlab\lang\@double\display) % double method
built-in (C:\Program Files\MATLAB\R2009a\toolbox\matlab\lang\@logical\display) % logical method
built-in (C:\Program Files\MATLAB\R2009a\toolbox\matlab\lang\@char\display)
...
您还可以使用函数形式来收集单元格数组中的文件路径:
filePaths = which('display','-all');
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Environment and Settings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!