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?

Answers (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.

Categories

Find more on Cloud Integrations in Help Center and File Exchange

Asked:

on 18 Jun 2020

Edited:

on 18 Jun 2020

Community Treasure Hunt

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

Start Hunting!