How can I generate a report programmatically using the Report Explorer templates?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 4 de Jun. de 2020
Editada: MathWorks Support Team
el 24 de Nov. de 2020
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
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')
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Reporting and Database Access en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!