parfor in MATLAB Report Generator

조회 수: 1 (최근 30일)
Kevin
Kevin 2021년 11월 13일
I am wondering if there is any problem using parfor loop and MATLAB Report Generator.
For example, I use the following code to generate one PDF file.
rpt = mlreportgen.report.Report('tmp.pdf');
tp = mlreportgen.report.TitlePage;
tp.Title = 'Magic Squares';
tp.Author = 'Albrecht Durer';
append(rpt,tp);
append(rpt, mlreportgen.report.TableOfContents);
....
close(rpt)
Can I put the above code inside a parfor loop (and I will use different filename for each iteration) to generate one PDF file in each iteration?

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by