How do I get a parameter to resolve when following the '%%' section header definer while using 'publish' command?
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to 'publish' some analysis done in Matlab and am having a hard time with the section headers as passed parameter value does not get resolved following the '%%'
FIELD =
GILB_SHOP
%
%%ANALYSIS SUMMARY REPORT FOR ATTRIBUTE: [FIELD]
%
The double-percent is not letting the value of 'FIELD' resolve.
I would like my section header to look like this:
ANALYSIS SUMMARY REPORT FOR ATTRIBUTE: GILB_SHOP
I very much appreciate your help.
Thanks,
Abdul
0 个评论
回答(1 个)
Ned Gulley
2011-10-5
Publishing using cell mode markup doesn't permit passing parameters in the way you describe. Section heads can't contain parameterized variable text.
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!