How do I get a parameter to resolve when following the '%%' section header definer while using 'publish' command?

조회 수: 2 (최근 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

답변 (1개)

Ned Gulley
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.
The MATLAB Report Generator may have the functionality that you're interested in.

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by