Control display format for output
Some Matlab formats have no Scilab equivalent, see examples below.
Equivalence table
Matlab
Scilab
format
format(“v”,6)
format +
format(6)
format bank
No equivalent for: format “bank”
format compact
No equivalent for: format “compact”
format hex
No equivalent for: format “hex”
format long
format(16)
format long e
format(“e”,16)
format long g
format(“e”,16)
format loose
No equivalent for: format “loose”
format rat
No equivalent for: format “rat”
format short
format(6)
format short e
format(“e”,6)
format short g
format(“e”,6)