Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
format long does not work in a function
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Walter Roberson
el 26 de Nov. de 2018
Duplicated by later https://www.mathworks.com/matlabcentral/answers/432133-format-long-does-not-work-in-a-function which has a comment.
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!