检查功能是否属于/属于哪个工具箱 [英] checking if function is a part of/which toolbox

查看:84
本文介绍了检查功能是否属于/属于哪个工具箱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在工作站上安装了相对丰富"的matlab.现在,我需要向...发送一些代码,我想检查一下它需要哪些工具箱才能正常工作.

We have a relatively "rich" matlab installed on our workstations. I now need to send some code to ..., and I'd like to check what toolboxes it requires for it to work properly.

最简单的方法是什么?

如何找出某个功能属于哪个工具箱?

How does one find out what toolbox some function belongs to ?

推荐答案

我看到两个问题

您需要生成一个依赖性报告.正如您在我发布的链接中看到的那样,所需的工具箱将在末尾列出.

You need to generate a Dependency Report. As you can see in the link I've posted, the required toolboxes are listed towards the end.

获取该信息的另一种方法是 depfun -这将为您提供功能所依赖的文件.

Another way to get that information is depfun - this will give you the files your function depends on.

可能是您真正想要的-

THIS is probably what you really want - depdir - it will list the dependent directories of your M-file.

您可以通过来获取该信息. >命令-它会告诉您它的位置,并指出它是否是内置函数.

You can get that information with the which command - it will tell you where it's located and indicate if it's a built-in function.

这篇关于检查功能是否属于/属于哪个工具箱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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