Michael Litvin
Michael Litvin

Reputation: 4136

How to unhide an overriden function?

Suppose I have my own function named zeros on the Matlab path. Now I want to call the built-in zeros. How can I do that?

Upvotes: 2

Views: 135

Answers (1)

sitic
sitic

Reputation: 539

Use the builtin function:

builtin(function, arg1, ..., argN)

In your case e.g.:

builtin('zeros', 50)

Upvotes: 4

Related Questions