Skip to content

printf

io · scripts/io/printf.m

Clean-room Octave-compat helper. MATLAB-valid % comments so the file parses under MATLAB-strict user addpath as well as under the shipped scripts tree.

: printf (template, …)
: count = printf (…)

Write formatted text to standard output (Octave dialect).

Same conversions as fprintf. Unlike fprintf, the first argument is always the format template (no file id).