geographicToIntrinsic is not installed?

2 次查看(过去 30 天)
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!

采纳的回答

Harsha Priya Daggubati
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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by