コマンドウィンドウ上の直前エラーメッセージの記録方法
Afficher commentaires plus anciens
コマンドウィンドウ上であるコードを入力してエラーが発生したらすぐにそれをテキストファイルに記録したいと考えているのですが、例えば以下の様に間違ったコードを打ち込んでしまった場合に、エラーメッセージの部分だけをテキストに出力する事は出来るのでしょうか?
>> disp('Hello
disp('Hello
↑
エラー: 文字ベクトルの終端が正しくありません。
>>
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!