コマンドウィンドウ上の直前エラーメッセージの記録方法
Mostrar comentarios más antiguos
コマンドウィンドウ上であるコードを入力してエラーが発生したらすぐにそれをテキストファイルに記録したいと考えているのですが、例えば以下の様に間違ったコードを打ち込んでしまった場合に、エラーメッセージの部分だけをテキストに出力する事は出来るのでしょうか?
>> disp('Hello
disp('Hello
↑
エラー: 文字ベクトルの終端が正しくありません。
>>
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!