如何导入/包含MATLAB函数? [英] How do I import/include MATLAB functions?
本文介绍了如何导入/包含MATLAB函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在.m文件中定义了一些MATLAB函数,我想将它们导入到MATLAB中(因为我希望能够将它们称为内置函数)。我怎么做到这一点?
I have some MATLAB functions defined in .m files and I'd like to import them into MATLAB (as in I'd like to be able to call them as I do a built-in function). How can I do this?
推荐答案
您必须设置路径。请参阅此处。
You have to set the path. See here.
这篇关于如何导入/包含MATLAB函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文