Generating multiple page content using Report generator!
I am using report generator to generate a document in Matlab. The document is generated by form based generation process, where my template has a number of holes, at a well defined positions. I do not have any sections or chapter or paragraphs to append directly into.
The problem is in using the template and to genearate different pages. I tried using pageBreak() statement at the end of the page. And that being the last hole in the report. I receive the following error ”Error using mlreportgen.dom.Document/append Unable to append to #end# hole”. I did try adding additional hole in the template after the line of page break, buit still it loads my first holes content and then throws the same error.
To be more concise, I simply want to reuse the template(consititng of signle page with multiple holes) and loop it several times for the different data, so that I can capture all the single page document outputs in one single document.
Note: Above picture illustrates how the page generating function (defined by ‘MesaPointAnalys’) terminates.
Note: Above picture illustrates how the loop is performed to call for assignement for different page. The MesaPointAnalys is a page generating function and handles different data based on the page numbers.I am using report generator to generate a document in Matlab. The document is generated by form based generation process, where my template has a number of holes, at a well defined positions. I do not have any sections or chapter or paragraphs to append directly into.
The problem is in using the template and to genearate different pages. I tried using pageBreak() statement at the end of the page. And that being the last hole in the report. I receive the following error ”Error using mlreportgen.dom.Document/append Unable to append to #end# hole”. I did try adding additional hole in the template after the line of page break, buit still it loads my first holes content and then throws the same error.
To be more concise, I simply want to reuse the template(consititng of signle page with multiple holes) and loop it several times for the different data, so that I can capture all the single page document outputs in one single document.
Note: Above picture illustrates how the page generating function (defined by ‘MesaPointAnalys’) terminates.
Note: Above picture illustrates how the loop is performed to call for assignement for different page. The MesaPointAnalys is a page generating function and handles different data based on the page numbers. I am using report generator to generate a document in Matlab. The document is generated by form based generation process, where my template has a number of holes, at a well defined positions. I do not have any sections or chapter or paragraphs to append directly into.
The problem is in using the template and to genearate different pages. I tried using pageBreak() statement at the end of the page. And that being the last hole in the report. I receive the following error ”Error using mlreportgen.dom.Document/append Unable to append to #end# hole”. I did try adding additional hole in the template after the line of page break, buit still it loads my first holes content and then throws the same error.
To be more concise, I simply want to reuse the template(consititng of signle page with multiple holes) and loop it several times for the different data, so that I can capture all the single page document outputs in one single document.
Note: Above picture illustrates how the page generating function (defined by ‘MesaPointAnalys’) terminates.
Note: Above picture illustrates how the loop is performed to call for assignement for different page. The MesaPointAnalys is a page generating function and handles different data based on the page numbers. report generator MATLAB Answers — New Questions