geographicToIntrinsic is not installed?

2 views (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!

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!