Recording all output from sedebug?

1 view (last 30 days)
Justin
Justin on 1 Jun 2012
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') )

Accepted Answer

Justin
Justin on 1 Jun 2012
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.

More Answers (0)

Categories

Find more on SimEvents in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!