Info
此问题已关闭。 请重新打开它进行编辑或回答。
format long does not work in a function
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2018-11-26
Duplicated by later https://www.mathworks.com/matlabcentral/answers/432133-format-long-does-not-work-in-a-function which has a comment.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!