tprintf -- Print to Second Terminal Window

Version (4,64 ko) par Petorr
Print lines of text in secondary windows resembling command window.
528 téléchargements
Mise à jour 8 août 2014

Afficher la licence

Terminal Print
c = tprintf( FigureName, Text );
tprintf( 'MyMessages', 'Hello world in 2nd terminal!' );
sends text 'Hello world in 2nd terminal!' to a window with the name MyMessages.
Clear the window: call without 2nd argument:
tprintf( FigureName );

Create window if it does not exist:

tprintf( FigureName , '' );

Requires external function findjobj(), provided by Yair Altman online from Matlab File Exchange

Peter Adany 2014

Citation pour cette source

Petorr (2024). tprintf -- Print to Second Terminal Window (, MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
En savoir plus sur Entering Commands dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version

minor update; no features altered

Removed %# from comments because they were causing pragma warnings.

Code clarity / minor adjustments

Minor improvements & code cleanup.

14317 acknowledgement

Added ability to clear the window by calling without 2nd argument.