Info

此问题已关闭。 请重新打开它进行编辑或回答。

format long does not work in a function

1 次查看(过去 30 天)
marziye ghasemi
marziye ghasemi 2018-11-26
关闭: Walter Roberson 2018-11-26
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.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by