SolessChong
SolessChong

Reputation: 3407

How to open a Matlab function

Here in matlab, the source code for 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. It says the file latfiltmex.m doesn't exist.

Then how can I look into it?

Judging from its name, it appears to be a mex file. Then is it possible for me to get the c code for that? Or is it sealed by Mathworks?

Thanks

====

Edit

I found the mex file in the %MATLAB%/toolbox/signal/ folder. Its name is latcfiltmex.mexw32, and no attached src.

Upvotes: 0

Views: 1733

Answers (1)

Shai
Shai

Reputation: 114786

For build-in functions and compiled mex files Mathworks does not allow access to source code. All you have is the documentation published by mathworks.

Upvotes: 1

Related Questions