필터 지우기
필터 지우기

Simulink test: redirect "disp" output to file

조회 수: 8 (최근 30일)
Itai Lanel
Itai Lanel 2022년 1월 3일
편집: Priyanka Kondapalli 2022년 3월 24일
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!

답변 (1개)

Priyanka Kondapalli
Priyanka Kondapalli 2022년 1월 6일
편집: Priyanka Kondapalli 2022년 3월 24일
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.

카테고리

Help CenterFile Exchange에서 Outputs에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by