Seems like I'm not the first person to have a problem:
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
2020-3-23
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!