It is difficult to get a list of all the built-in functions; they are not all documented, and they just live inside compiled libraries without there being any individual configuration file for them.

Not many people have all of the toolboxes even if we had a tool to scan the compiled libraries to find the names.

Yes, the only people who stand a chance to answer this question are Mathworks employees and I doubt that it's something they'd be willing to share. Plus, it probably change in each version.

In addition, what people call built-in functions may differ from what matlab calls built-in. For example the plotting function bar is not built-in according to matlab (but plot is).

Walter is correct, not all built-in functions (my definition above) are documented. Some of those are known to users (feature is one example) while many are not (I'm not going to give any examples.)

Guillaume is correct as well that the answer depends on what you consider a "built-in" function and that each release introduces at least one new built-in function.

Users often call script, function, or class files in a MathWorks product implemented using the MATLAB language in files with the .m or .mlx extension as "built-in functions". I would instead call those "program files included with <fill in the name of the MathWorks product that contains them>". To me, "built-in functions" includes at least in part "a function that call be called using the builtin function and for which MathWorks doesn't provide the source code."

Using Guillaume's example, I consider bar to be a program file included with MATLAB, while plot is a built-in function in MATLAB. [There are also overloads of plot for various types of objects implemented as program files included with various products, just to confuse matters a little more.] This isn't completely a semantic issue: you can call plot using the builtin function (if you want to ensure that you call the built-in function rather than an overloaded plot method, for example) but you can't call bar this way.

I'm kind of curious why you are interested. Is it just curiosity or is there something you were hoping to be able to do where this information would be useful or necessary?

Some of the functions have available help information if you just happen to know their name, even though they are not listed anywhere as an available function.

But other functions have no help information at all. They just exist and do mysterious things.

Steven, I did the question, only for curiosity. I'm a Matlab user, and I love to use it, but as a Matlab user, at least I would like to know how many functions have Matlab.

I have had talks with colleagues about numerical software (Mathematica, Numpy, Julia, etc.) when they ask me about the number of Matlab functions; always my answer is: "many".

In the context of MATLAB, the term "built-in function" refers to functionality that is compiled in to an internal library, as opposed to implemented as .m code (which users could read) or .mlx* code (binary library implementations.)

The number of functions that a user could call is probably not a good measure, as many many functions are not intended for users to call directly.

The number of functions intended for the user to call is potentially of interest, but also gets questionable. Should every method provided for every class be counted? If 17 different functions with the general aim of producing Hankle reductions of a dynamic model are provided, is it "interesting" to count all 17?

You kind of what to know how many "different" things that a language and associated libraries can do, and that is difficult to define.

Also, The number of functions wouldn't be a good metric since some functions are significantly more complex than others. The built-in plus for double is going to be fairly simple, the cpu already knows how to perform addition. On the other hand, some specialised toolbox functions are going to be very complex (e.g. neural network, image processing, etc.) You can't really give them the same weight.

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

## 9 Comments

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786784

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786784

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786793

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786793

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786816

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786816

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786883

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786883

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786969

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786969

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786982

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_786982

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_787086

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_787086

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_787204

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_787204

## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_787642

⋮## Direct link to this comment

https://www.mathworks.com/matlabcentral/answers/500618-how-many-built-in-functions-have-matlab#comment_787642

Sign in to comment.