How to use multiple diaries in Matlab
5 ビュー (過去 30 日間)
古いコメントを表示
How do I have two diaries in matlab for example:
>> diary a.txt
>> disp('1')
1
>> disp('2')
2
>> diary b.txt
>> disp('3')
3
>> disp('4')
4
>> diary b.txt
>> disp('5')
5
>> disp('6')
6
>> diary a.txt
>>
I want to see all the commands between diary a to be in that file and all in between diary b to be in diary b.txt
0 件のコメント
採用された回答
Walter Roberson
2011 年 11 月 12 日
Using multiple simultaneous diaries is not supported.
If you were to disp() unique strings indicating the beginning and end of each diary location, then you could post-process the diary to extract what you wanted.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!