how to show more than 4 points after decimal in the variable window ?

12 visualizzazioni (ultimi 30 giorni)
Hi,
i Have latitude value of 33.57755520. when I load that into the workspace window and click on it, I only see the number up to 4 points (33.5776) after the decimal ( please see the attached image) How can I display all the numbers after decimal value in the variable window ? Thanks

Risposta accettata

Birdman
Birdman il 5 Gen 2018
Modificato: Birdman il 5 Gen 2018
Go to Preferences->Variables and select Default array format as long and click Apply.
After this, close your MATLAB and open again.
  1 Commento
Sven Krasel
Sven Krasel il 13 Apr 2021
Modificato: Sven Krasel il 13 Apr 2021
Hi Birdman,
Your solution for this somehow doesn't work for me. Can you maybe help me? I have set the format in code manually to longg and I've also changed the Default array format in the preferences both to long and long g and restarted matlab a couple of times now but none of it helped.
Thank you,
Best,
Sven

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by