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?

2 commentaires

Do you have the mapping toolbox?
I did not. Thanks for the info!

Connectez-vous pour commenter.

Réponses (1)

Cris LaPierre
Cris LaPierre le 18 Juin 2020
Modifié(e) : Cris LaPierre le 18 Juin 2020
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.

Catégories

En savoir plus sur Cloud Integrations dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by