コマンドウィンドウ上の直前エラーメッセージの記録方法
Mostra commenti meno recenti
コマンドウィンドウ上であるコードを入力してエラーが発生したらすぐにそれをテキストファイルに記録したいと考えているのですが、例えば以下の様に間違ったコードを打ち込んでしまった場合に、エラーメッセージの部分だけをテキストに出力する事は出来るのでしょうか?
>> disp('Hello
disp('Hello
↑
エラー: 文字ベクトルの終端が正しくありません。
>>
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!