How can I run a report generator file from the command window?

조회 수: 3 (최근 30일)
Bence Salanki
Bence Salanki 2018년 3월 26일
편집: Rahul Singhal 2018년 3월 26일
Hi, I am kind of new to the Report Generator. I have made a .rpt file with the Report Generator but I don't know how can i call this function to generate a pdf for me from the command window? later on I want to call it from GUI, that is why I am asking.
Thank you, Bence

답변 (1개)

Rahul Singhal
Rahul Singhal 2018년 3월 26일
편집: Rahul Singhal 2018년 3월 26일
From the command window, you can use the report command to generate report from a setup file ( .rpt) file. See https://www.mathworks.com/help/rptgen/ug/report.html
Also, to open your setup file in the report explorer application, use setedit command. See https://www.mathworks.com/help/rptgen/ug/setedit.html. Once the file is loaded, select the required file format from the GUI, and click on the report generation icon to generate the report.
This link specify all the ways to generate a report from a setup file: https://www.mathworks.com/help/rptgen/ug/generate-a-report.html

Community Treasure Hunt

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

Start Hunting!

Translated by