How can I generate a report programmatically using the Report Explorer templates?

1 visualización (últimos 30 días)
I would like to generate a report for my Simulink model using one of the Report Explorer template. How can I generate a report programmatically using the report explorer templates

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 24 de Nov. de 2020
Editada: MathWorks Support Team el 24 de Nov. de 2020
If you are looking to generate a report using the "Simulink_default.rpt" format, you can use the "report" command:
>> report('simulink-default.rpt')
By default, the "report" command generates a report for the current system.
Therefore if you would like to generate a report for a specific model, you would use one of the following methods:
>> set_param(0, 'CurrentSystem', 'vdp');
>> report('simulink-default.rpt')
 
>> load_system('sf_car')
>> report('simulink-default.rpt')

Más respuestas (0)

Categorías

Más información sobre Reporting and Database Access en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by