Undefined function 'bufferm' for input arguments of type 'double'.?

I used to run the function bufferm fine before I Re-install matlab 2017b. And now when I run it for the same type of data I get this Error message:
Undefined function 'bufferm' for input arguments of type 'double'.
Does anyone has an idea what should I do to be able to run it?
Thank you so much.

 Accepted Answer

Since you were able to run it before, you must have the Mapping Toolbox installed. Run the ver command from your Command Window to be certain.
If the Mapping Toolbox is listed, you could have a path problem. The first approach to fix that is to run these lines from the Command Window or a script:
restoredefaultpath
rehash toolboxcache
then see if your bufferm call works.
If it does not, then Contact Support.

6 Comments

Mapping Toolbox is NOT listed. do you know how can I install it, please ?
Thanks again
My pleasure.
That depends on the license you have.
If you have your own license, go to Download Now (link), select it, and download it.
If you are part of an institutional license, contact your license administrator.
If you have other questions about this, Contact Support (link).
Do I need to re-Install Matlab ?
Is there anyway to add Mapping toolbox only ?
Thank you
You likely do not need to reinstall anything.
I would go to the Download Now page, select only the Mapping Toolbox, and download and install it. That should be all you need to do.
You may need to run the functions in my original Answer afterwards, although that will likely not be necessary. I once needed to reinstall base MATLAB, and was able to download and install it alone. It worked with the Toolboxes I had already downloaded and installed, without problems.
Thank you Star its working now

Sign in to comment.

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!