tprintf -- Print to Second Terminal Window

バージョン 1.6.0.0 (4.64 KB) 作成者: Petorr
Print lines of text in secondary windows resembling command window.
ダウンロード: 529
更新 2014/8/8

ライセンスの表示

Terminal Print
c = tprintf( FigureName, Text );
Example:
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

引用

Petorr (2024). tprintf -- Print to Second Terminal Window (https://www.mathworks.com/matlabcentral/fileexchange/47392-tprintf-print-to-second-terminal-window), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersEntering Commands についてさらに検索
謝辞

ヒントを得たファイル: findjobj - find java handles of Matlab graphic objects

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.6.0.0

minor update; no features altered

1.5.0.0

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

1.4.0.0

Code clarity / minor adjustments

1.3.0.0

Minor improvements & code cleanup.

1.2.0.0

14317 acknowledgement

1.1.0.0

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

1.0.0.0