How to log the intermediate diagnostic data from command line?

After building a simulink model how can I save all the diagnostic data in a text file through command window without the need to open the model, build then view diagnostic data and save manually. I should be able to save the diagnostic data even when there is any error during build.
I tried doing with sldiagnostics and sldiagviewer but am not able to get the intermediate results.

Answers (0)

Categories

Products

Release

R2019b

Asked:

on 29 Jul 2021

Commented:

on 24 May 2023

Community Treasure Hunt

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

Start Hunting!