printf

An improved print command with status and timing functionality

Vous suivez désormais cette soumission

printf works as a replacement for Matlab's fprintf. It is particularly designed to easily print log messages of running processes. In addition to formatted output it supports hierarchical grouping of more complex command sequences, automatically printing a statuses as percentage value as well as automatically printing the run time of single processes and groups.

printf nicely works with Matlab's diary functionality.

Further you can adjust parameters to control indentation, maximum depth of hierarchical output and line with.

All features are demonstrated within the contained demo program.

Citation pour cette source

Falko Schindler (2026). printf (https://fr.mathworks.com/matlabcentral/fileexchange/38676-printf), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Language Fundamentals dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.8.0.0

Using persistent rather than global and added comprehensive help text. Thanks to Jan Simon for pointing me towards these issues.

1.0.0.0