How to fix a custom stylesheet report error?

4 ビュー (過去 30 日間)
Julio Martinez
Julio Martinez 2016 年 2 月 1 日
コメント済み: Sajid Afaque 2022 年 1 月 3 日
Hi there,
I created a custom stylesheet and when I tried to use it for reporting some data analysis, Report Generator was not able to find it. I saved this stylesheet in my path for the data that is being analyzed. e.g. C:\mydocuments\mydata\mystylesheet.rgs
After the report was completed, I received this message:
Could not find stylesheet "%ReportSheetT2semc{ draft.watermark.image , C:\Program Files\MATLAB\R2014a\sys\namespace\docbook\v4\xsl\images\draft.png , fop.extensions , 0 , fop1.extensions , 1 , callout.graphics.path , file:///C:/Program%20Files/MATLAB/R2014a/sys/namespace/docbook/v4/xsl/images/callouts/ , hyphenate , 1}"
The report was saved in a standard PDF preloaded stylesheets.
Was I supposed to saved it within the MATLAB program files folder? I followed this instruction from the report generator user's guide when saving my custom sytlesheet.
"Select File > Save As from the menu bar and specify a new name for the stylesheet (to avoid overwriting built-in stylesheets). You must save the file in a folder in your MATLAB® path for the stylesheet to appear in the Report Explorer. The file name must be unique in the MATLAB path"
I may have misunderstood this instruction but I do not want to just saved somewhere else where it may cause more trouble for me. Any help will be greatly appreciated. Thanks!
  2 件のコメント
Walter Roberson
Walter Roberson 2016 年 2 月 1 日
Could you confirm that C:\mydocuments\mydata\ is on your MATLAB path? You see it when you give the command
path
?
Sajid Afaque
Sajid Afaque 2022 年 1 月 3 日
i get same issue though i have stylesheet in the MATLAB path

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by