Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
format long does not work in a function
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i have a function i want to calculate in long format and i added ;
origFormat = get(0, 'format');
format('long');
% -- Work in long format --
set(0,'format', origFormat);
at the first line. but the output is in short fomat.
1 commentaire
Walter Roberson
le 26 Nov 2018
Duplicated by later https://www.mathworks.com/matlabcentral/answers/432133-format-long-does-not-work-in-a-function which has a comment.
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!