简体   繁体   English

如何打开Matlab函数

[英]How to open a Matlab function

Here in matlab, the source code for latcfilt.m 在matlab中,这是latcfilt.m的源代码

It is from signal processing toolbox. 它来自信号处理工具箱。

error(nargchk(2,6,nargin,'struct'));

if nargin < 6
    [F,G,Zf] = latcfiltmex(varargin{:});
else
...

I want to have a look at the function latcfiltmex() , however, when I tried to rightclick->Open "latcfiltmex", it turned out that I cannot open it. 我想看一下函数latcfiltmex() ,但是,当我尝试右键单击->打开“ latcfiltmex”时,事实证明我无法打开它。 It says the file latfiltmex.m doesn't exist. 它说文件latfiltmex.m不存在。

Then how can I look into it? 那我怎么看呢?

Judging from its name, it appears to be a mex file. 从名称来看,它似乎是一个mex文件。 Then is it possible for me to get the c code for that? 那么我有可能为此获得C代码吗? Or is it sealed by Mathworks? 还是由Mathworks密封?

Thanks 谢谢

==== ====

Edit 编辑

I found the mex file in the %MATLAB%/toolbox/signal/ folder. 我在%MATLAB%/ toolbox / signal /文件夹中找到了mex文件。 Its name is latcfiltmex.mexw32, and no attached src. 它的名称是latcfiltmex.mexw32,没有附加的src。

For build-in functions and compiled mex files Mathworks does not allow access to source code. 对于内置函数和已编译的mex文件,Mathworks不允许访问源代码。 All you have is the documentation published by mathworks. 您所拥有的只是mathworks发布的文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM