moveToNextHole in Report Generator does not compile.
이전 댓글 표시
I am using Matlab 2015b 32bit with Report Generator and compiler. moveToNextHole does not compile in the following example from the user guide:
======
function makerpt(title,author,content,rptname,rpttemplate) import mlreportgen.dom.* rpt = Document(rptname,'docx',rpttemplate);
while ~strcmp(rpt.CurrentHoleId,'#end#')
switch rpt.CurrentHoleId
case 'Title'
append(rpt,title);
case 'Author'
append(rpt,author);
case 'Content'
append(rpt,content);
end
moveToNextHole(rpt);
end
close(rpt);
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Report Generator Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!