Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda do Scilab >> Dicas de Conversão de Matlab para Scilab > Matlab-Scilab equivalents > F > format (Matlab function)

format (Matlab function)

Control display format for output

Matlab/Scilab equivalent

Matlab Scilab

Particular cases

Some Matlab formats have no Scilab equivalent, see examples below.

Examples

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)

Report an issue
<< for (Matlab function) F fprintf (Matlab function) >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:58:45 CET 2018