Simulink test: redirect "disp" output to file

9 ビュー (過去 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 Center および File ExchangeOutputs についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by