Borrar filtros
Borrar filtros

Simulink test: redirect "disp" output to file

8 visualizaciones (últimos 30 días)
Itai Lanel
Itai Lanel el 3 de En. de 2022
Editada: Priyanka Kondapalli el 24 de Mzo. de 2022
Hi,
In the model I'm simulating I have multiple calls to "disp" function which prints to the Diagnostic viewer.
When running tests using Simulink test in batch I couldn't find the diagnostic viewer output.
Is it possible to redirect the screen output to log file which I can review?
Thanks!

Respuestas (1)

Priyanka Kondapalli
Priyanka Kondapalli el 6 de En. de 2022
Editada: Priyanka Kondapalli el 24 de Mzo. de 2022
Hi,
I understand you are trying to output the logfile, for which you can use the diary function. Please use the link below on how to use the diary function.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by