Missing functions from mapping toolbox.

There are several functions missing from my Matlab installation.
For example dm2degrees and checkellipsoid return undefined function errors. "Undefined function 'dm2degrees' for input arguments of type 'double'."
I am running r2016a, the output from ver is:
MATLAB Version: 9.0.0.341360 (R2016a)
MATLAB License Number: [redacted]
Operating System: Linux 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode
MATLAB Version 9.0 (R2016a)
...
Mapping Toolbox Version 4.3 (R2016a)
...
rest of toolbox spam omitted.
While some of these functions are trivial to reproduce, others are not.
Thanks for your help.

1 Comment

I also have this problem...any solutions Mathworks?

Sign in to comment.

Answers (2)

The dm2degrees function is part of Mapping Toolbox. What does the following command return?
which -all dm2degrees
If that doesn't list the function in the toolbox\map\map directory, check that this directory is on the MATLAB search path.

6 Comments

I get: C:\Program Files\MATLAB\R2016a\toolbox\map\map\dm2degrees.m % Has no license available
but my ver returns:---------------------------------------------------------------------------------------------------- MATLAB Version: 9.0.0.341360 (R2016a) MATLAB License Number: [redacted] Operating System: Microsoft Windows 7 Professional Version 6.1 (Build 7601: Service Pack 1) Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode ---------------------------------------------------------------------------------------------------- MATLAB Version 9.0 (R2016a) Simulink Version 8.7 (R2016a) Computer Vision System Toolbox Version 7.1 (R2016a) Control System Toolbox Version 10.0 (R2016a) Curve Fitting Toolbox Version 3.5.3 (R2016a) Embedded Coder Version 6.10 (R2016a) Image Acquisition Toolbox Version 5.0 (R2016a) Image Processing Toolbox Version 9.4 (R2016a) MATLAB Coder Version 3.1 (R2016a) MATLAB Compiler Version 6.2 (R2016a) MATLAB Report Generator Version 5.0 (R2016a) Mapping Toolbox Version 4.3 (R2016a) Model Predictive Control Toolbox Version 5.2 (R2016a) Neural Network Toolbox Version 9.0 (R2016a) Optimization Toolbox Version 7.4 (R2016a) Parallel Computing Toolbox Version 6.8 (R2016a) Signal Processing Toolbox Version 7.2 (R2016a) Simulink Coder Version 8.10 (R2016a) Simulink Control Design Version 4.3 (R2016a) Simulink Design Optimization Version 3.0 (R2016a) Simulink Report Generator Version 5.0 (R2016a) Simulink Verification and Validation Version 3.11 (R2016a) Stateflow Version 8.7 (R2016a) Statistics and Machine Learning Toolbox Version 10.2 (R2016a) Symbolic Math Toolbox Version 7.0 (R2016a)
From the message "Has no license available" it seems that all your licenses for Mapping Toolbox are currently in use, or perhaps you have the product installed but not licensed. You're probably going to want to check with your license administrator as they should be able to use the license administration tools to determine who's using the licenses and confirm that Mapping Toolbox is correctly licensed.
I use 2019a and I have a similar problem:
When trying to use
polyxpoly
I get an exception
me.identifier 'MATLAB:UndefinedFunction'
me.message 'Undefined function 'polyxpoly' for input arguments of type 'double'.'
Also when I am trying to open the documentation for polyxpoly (via F1) Matlab does not find it.
I have installed and licensed Matlab and the Mapping Toolbox (where polyxpoly originates).
When I look in matlabroot/toolbox/map all functions are there. I even reinstalled the Mapping toolbox and licensed it, but nothing changed.
When I try
which -all polyxpoly
Matlab returns
'polyxpoly' not found.
So for me it looks like there is a Path problem, which wonders me because it is in matlabroot.
I would be happy for any help, as these kinds of problems are very pesky when one just wants to progress.
Best
If your path has been corrupted so Mapping Toolbox is not present on it, try using restoredefaultpath to reset it to the default list of directories.
Thank you for your answer, unfortunately it did not work, any other ideas?
That's odd. I'm not certain what's going on. I recommend contacting Technical Support using the telephone handset icon in the upper-right corner of this page and working with them to determine why the function is not available

Sign in to comment.

Any resolution on this?

1 Comment

OP here, I never got this resolved until an upgrade to a newer Matlab (2018b) fixed it.
I don't know whether it was a bug that was fixed or if simply a clean install would have fixed it.
Try the other advice in the thread too I guess.
edit: judging by the discussion above concerining 2019a still having this issue I doubt it was a bugfix so perhaps a reinstall is needed.

Sign in to comment.

Asked:

on 28 Feb 2017

Edited:

on 19 Mar 2020

Community Treasure Hunt

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

Start Hunting!