Hello, I am doing a school project and I am using the Mapping toolbox. Until now I had no problem with the geoglobe function, but today when I ran my code, the globe stopped displaying. When I run this basic code:
uif = uifigure;
g = geoglobe(uif);
This will happen: do you have any idea how to fix this problem? I tried to reinstall the toolbox, but I have no clue what i can try next. Thanks!

3 commentaires

Mike Susedik
Mike Susedik le 15 Nov 2023
I am having the same result. I installed the latest update and the globe has suddenly dissapeared. I have been having a lot more trouble with graphics with the new release of 2023b. I've tried just running any of the examples and the result is the same... I do not have a solution, but wanted to add to support your question. I think it is something in the data base of maps? As you rotate the plot, the stars or something rotates in the background like you can see through the globe. I don't know if htere is an oppacity setting that has defaulted wrong or just the plot can't reach the globe anymore... GL
Dyuman Joshi
Dyuman Joshi le 15 Nov 2023
You should contact TMW technical support for this - Contact Support
Mike Susedik
Mike Susedik le 17 Nov 2023
Modifié(e) : Mike Susedik le 17 Nov 2023
I put in a ticket and they got back to me and say it's not happening to them. I pointed them to this threat. Hopefully they contact Cris below.

Connectez-vous pour commenter.

 Réponse acceptée

Cris LaPierre
Cris LaPierre le 17 Nov 2023

3 votes

MathWorks is aware of a server issue and is working to resolve it.

4 commentaires

leka0024
leka0024 le 18 Déc 2023
Modifié(e) : leka0024 le 18 Déc 2023
@Cris LaPierre, why won't Matlab allow geoglobe to have a regular figure as parent? Why force it into uifigure?
Cris LaPierre
Cris LaPierre le 18 Déc 2023
uifigures have capabilities that are not supported by figures. I suspect geoglobe is leveraging some fo those capabilites to create the interative globe.
Walter Roberson
Walter Roberson le 18 Déc 2023
uifigure() are based on HTML, and can have components that are based around HTML.
"Traditional" figures are based around java and cannot have components that are based around HTML (except for individual HTML 1.1 containers such as uicontrol buttons.)
geoglobe uses HTML.
leka0024
leka0024 le 19 Déc 2023
@Cris LaPierre and @Walter Roberson thank you both for the replies! Appreciate it

Connectez-vous pour commenter.

Plus de réponses (2)

Angelo Yeo
Angelo Yeo le 21 Nov 2023

1 vote

According to our development team, the issue is fixed by now. Please check if the issue persists with the simple script below.
uif = uifigure;
g = geoglobe(uif);
Mike Susedik
Mike Susedik le 17 Nov 2023
Modifié(e) : Mike Susedik le 17 Nov 2023

0 votes

As a temp fix from ML support and it worked for me:
We are working on resolving this issue as soon as possible. You can still use the "geoglobe" function but you will need to set Terrain="none", such as:
hfig = uifigure;
g = geoglobe(hfig, Terrain="none")

Catégories

En savoir plus sur Christmas / Winter dans Centre d'aide et File Exchange

Produits

Version

R2023b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by