Command window text

バージョン 1.1.0.0 (1.7 KB) 作成者: Hugh Nolan
Copies all text in the command window into a cell array of strings.
ダウンロード: 680
更新 2011/5/19

ライセンスの表示

This m-file allows you to export all text in the Command Window to a cell array of strings, each entry being a line of text from the window. The unparsed raw string is also available, if desired.

Operation is very simple - this file looks for the appropriate java object in the root window and gets text from it.

I was looking for a way to do this, particularly for error tracking in some software I maintain, and nobody seemed to have written up this method, so I present it here for you to use.

引用

Hugh Nolan (2026). Command window text (https://jp.mathworks.com/matlabcentral/fileexchange/31438-command-window-text), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCharacters and Strings についてさらに検索
タグ タグを追加
謝辞

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

バージョン 公開済み リリース ノート
1.1.0.0

Removed dependency on findjobj.m - thanks Jan

1.0.0.0