error in geoglobe function: "Unrecognized function or variable 'geoglobe'"

Hello,
When I type
h = uifigure;
g = geoglobe(h);
into my MATLAB R2020a script and run it, an error occurs: Unrecognized function or variable 'geoglobe'. Does anyone know why this is?

回答(1 个)

The geoglobe function is part of the Mspping Toolbox. Do you have that installed? In your Command Window type ver and press Enter. Does it appear on the list?
Have you created a variable called geoglobe? In your Command Window, type clear geoglobe and then try your code again.

类别

帮助中心File Exchange 中查找有关 Cloud Integrations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by