Borrar filtros
Borrar filtros

Recording all output from sedebug?

2 visualizaciones (últimos 30 días)
Justin
Justin el 1 de Jun. de 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') )

Respuesta aceptada

Justin
Justin el 1 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre SimEvents en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by