Recording all output from sedebug?

조회 수: 1 (최근 30일)
Justin
Justin 2012년 6월 1일
I have a rather large model which has a bug I am having difficulty pinpointing. I would like to be able to review(search) all the output from sedbug after the model has run to compare it to the processed output.
Is there a way to set the entire model to run and record the output? I set up a shortcut to run a 1000 steps and can then copy past all the output from that but that will be very time consuming to run the model to completion.
Thank you
(Using command >>sedebug('model_name') )

채택된 답변

Justin
Justin 2012년 6월 1일
I figured it out (pretty easy). Since sedebug outputs straight to the command window anyway I can just use the diary command.
>>diary on
>>sedebug('model_name')
sedebug>>cont
If anyone knows a quicker way or a way to do it through the debugger directly while suppressing the output let me know. The reason I ask is because the diary output is about 240 MB so it's a little slow to use.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by