Effacer les filtres
Effacer les filtres

Recording all output from sedebug?

2 vues (au cours des 30 derniers jours)
Justin
Justin le 1 Juin 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') )

Réponse acceptée

Justin
Justin le 1 Juin 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.

Plus de réponses (0)

Catégories

En savoir plus sur SimEvents dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by