Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - 日本語

Change language to:
English - Français - Português

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

Scilab manual >> Output functions > mprintf

mprintf

変換, 整形し, Scilab主ウインドウにデータを書き込む

呼び出し手順

mprintf(format,a1,...,an);

パラメータ

format

残りのオペランドを書く際のフォーマットを定義するScilab文字列. formatオペランドは,C言語のprintfのformatオペランドと 構文にできるだけ近くなるよう作成されています.

a1,...,an

formatパラメータに基づき変換,出力されるデータを定義します.

説明

mprintf関数はC言語のprintfへ のインターフェイスです.

mprintf関数は整形されたオペランドを Scilab標準出力(すなわち,Scilabウインドウ)に書き込みます. argumentオペランドはformatオペランドの制御の下で整形されます.

mprintf('At iteration %i, Result is:\nalpha=%f',33,0.535)

参照

<< disp Output functions msprintf >>

Copyright (c) 2022-2023 (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:
Wed Jan 26 16:25:13 CET 2011