필터 지우기
필터 지우기

How to use multiple diaries in Matlab

조회 수: 8 (최근 30일)
Ajay Kumar
Ajay Kumar 2011년 11월 12일
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

채택된 답변

Walter Roberson
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개)

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by