Recording all output from sedebug?

3 次查看(过去 30 天)
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 中查找有关 Discrete-Event Simulation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by