从matlab src代码生成调用图 [英] Call graph generation from matlab src code

查看:291
本文介绍了从matlab src代码生成调用图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为大约500个matlab src文件创建一个函数调用图。我无法找到任何可以帮助我对多个src文件执行相同操作的工具。

I am trying to create a function call graph for around 500 matlab src files. I am unable to find any tools which could help me do the same for multiple src files.

任何人都熟悉任何工具或插件?

Is anyone familiar with any tools or plugins?

如果任何此类工具不可用,欢迎任何有关阅读6000行matlab代码
的建议,不需要文档。

In case any such tools are not available, any suggestions on reading 6000 lines of matlab code without documentation is welcome.

推荐答案

让我建议 M2HTML ,一个工具自动生成您的MATLAB m文件的HTML文档。在其功能列表中:

Let me suggest M2HTML, a tool to automatically generate HTML documentation of your MATLAB m-files. Among its feature list:


  • 查找函数之间的依赖关系,并生成依赖图(使用GraphViz的点工具)

  • 使用源代码中的定义自动交叉引用函数和子功能

查看这个 demo 页面,以查看此工具的输出示例。

Check out this demo page to see an example of the output of this tool.

这篇关于从matlab src代码生成调用图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆