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

查看:25
本文介绍了从 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天全站免登陆