Why does polyxpoly (mapping toolbox version 3.7 R2013a) throw an error with input arguments of type double?

I use Matlab R2012a with the mapping toolbox, and have no issues with polyxpoly. I recently had the Mapping toolbox v.3.7(purchased version) installed on R2013a and have two issues with polyxpoly: 1. While I have help documentation showing up when I type 'help polyxpoly', I receive an error- 'Undefined function or variable 'polyxpoly'.' when I type just 'polyxpoly'. The R2012a on my laptop returns - 'Error using polyxpoly(line 68).Not enough input arguments'. So, not sure why the function doesn't seem to be accessible in the new version.
2. I tried passing in simple parameters as input arguments to polyxpoly in both versions of matlab. This is what I pass in: x1 = [1 2]; y1 = [1 1]; x2 = [1.5 1.5]; y2 = [0.5 2.5]; [ax,ay] = polyxpoly(x1,y1,x2,y2)
These are the outputs I receive in the respective versions: R2012a: ax = 1.5 ay = 1
R2013a: Undefined function 'polyxpoly' for input arguments of type 'double'.
I tried changing the class of the input argument but it throws the same error with the new classname. Any ideas?

Answers (1)

I am having the same problem, I have not change anything other than my licensing though so believe that this is the source of my problem (have yet to resolve so can't give definitive answer)

1 Comment

Then lets try the licenseing part first. I suggest you post this as a new question and provide the output of the VER command and license('test','MAP_Toolbox')

Sign in to comment.

Categories

Asked:

on 28 Mar 2014

Commented:

on 19 Feb 2015

Community Treasure Hunt

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

Start Hunting!