MATLAB Answers

geographicToIntrinsic is not installed?

1 view (last 30 days)
I don't appear to have the function geographicToInstrinsic, despite having the Mapping Toolbox installed:
> ls /Applications/MATLAB_R2019b.app/toolbox/map/*/geographicToInstrinsic.m
ls: /Applications/MATLAB_R2019b.app/toolbox/map/*/geographicToInstrinsic.m: No such file or directory
Other mapping toolbox functions are installed. For example:
> ls /Applications/MATLAB_R2019b.app/toolbox/map/*/geod2iso.m
/Applications/MATLAB_R2019b.app/toolbox/map/map/geod2iso.m
I also have the same problem on another machine that has MATLAB 2018A.
Should be in both since the docs say "Introduced in R2013b".
Confusing!

Accepted Answer

Harsha Priya Daggubati
Harsha Priya Daggubati on 23 Mar 2020
Hi,
You can find the implementation of 'geographicToIntrinsic' in the following file: matlab\toolbox\map\map\+map\+rasterref\GeographicRasterReference.m
'geographicToIntrinsic' expects it's first argument to be a GeographicCellsReference. Only then you will be able to call this method.
You can run this snippet:
R = georefcells();
geographicToIntrinsic(R);
This will give you an error, as it can locate the function now under GeographicRasterReference file.
Hope this helps!

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Products


Release

R2019b