MATLAB: How can you close all open document report viewers opened with rptviewer

closegeneratorMATLABreportrptviewer

How can you close all open document report viewers opened with "rptviewer"?

Best Answer

You can close all open report viewers using the the "mlreportgen.utils.rptviewer.closeAll()" command in the Command Window. Here is an example:
>> mlreportgen.utils.rptviewer.closeAll()
For a list of functions that manage document viewers, please visit the documentation page linked below:
Related Question