Main

Report Generation with System Composer

Learn how to create customized scripts to generate reports for System Composer™ architecture models, software architecture models, and AUTOSAR Models using MATLAB®. Documentation : https://bit.ly/3yP49ih -------------------------------------------------------------------------------------------------------- Get a free product trial: https://goo.gl/ZHFb5u Learn more about MATLAB: https://goo.gl/8QV7ZZ Learn more about Simulink: https://goo.gl/nqnbLe See what's new in MATLAB and Simulink: https://goo.gl/pgGtod © 2022 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.

MATLAB

9 months ago

hello my name is pankhuri and in this video i will show you how to use simulink report generation apis and system composer apis to generate customized reports for system composer architecture models you can write custom scripts that use rfinder and report apis to automate report generation in pdf and html formats the finder apis will help you find information about a particular model element report apis take the information generated by the finders and can be directly appended to the simulink re
port you can generate customized reports on the model structure interfaces views sequence diagrams etc using these set of apis now let us take a look at an example of a simple matlab report program to capture information about profiles and stereotypes in the sc example small uav model the first section imports api packages defines the report format in this case pdf and then creates the report container we also load our model here for which we will be creating the report next is the creation and
customization of a title page and adding it to the report container then i create a table of contents and add it to the report i will now create a chapter and a section for profile information i will populate this data using the profile finder api and the profile file we then loop over the results and add each of them to the section finally we add the section to our chapter i then create another section for the stereotype information i also create an object of the stereotype finder api and pass
the same xml file to the container we add each of the result to the section using add method finally we add the section to the chapter and the last step is to close and view the report here is the pdf report that was automatically generated after running the script it contains the title page table of contents chapters and sections containing information on profiles and stereotypes used in the model for a deeper dive into our apis and some example scripts please head to the link in the descriptio
n to have a look at our documentation thank you

Comments