- Start Report Explorer
- File -> Preferences
- Format ID -> web (HTML)
- Change HG images to desired format
- Format ID -> Rich Text Format
- Change HG images to desired format
- Click OK
- Load your report (RPT) file
- Change all Figure snapshot components to use "Automatic HG format"
- Save your report.
Is there a command line option for setting the image format for a Figure Snapshot component in MATLAB Report Generator?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have a report file with several image snapshot components. I'd like to be able to generate HTML or RTF output from it. It works best if I set the components' 'Image file format' attribute as 'Automatic HG format' for HTML, and as 'Windows metafile' for RTF. I suppose I could use a 'Logical If' component and branch based on the output format, but I'd rather set the 'Image file format' attribute on the command line if possible.
댓글 수: 0
답변 (1개)
Eric
2017년 2월 10일
The "Automatic HG format" determines which image format to use from the MATLAB Report Generator Preferences. Try:
Now when you generate an HTML or RTF report, you should get the image format set in your preference.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!