Create a Standalone Application from a Report Program
If you have the MATLAB® Compiler™ product, you can package your DOM and Report API generation programs into standalone applications. Then you can share the standalone applications with others who do not have a licensed copy of MATLAB.
To enable execution of a standalone report generation program on a system that does
not have a licensed copy of MATLAB, you must include
makeDOMCompilable() before the first
line of DOM or Report API code. For example:
makeDOMCompilable(); import mlreportgen.dom.* d = Document("output","pdf"); append(d,Text("Hello World")); close(d);
To enable execution of a standalone MATLAB API for PowerPoint® (PPT API) program, use
To create a standalone application from a report generation program, use the
compiler.build.standaloneApplication (MATLAB Compiler) function or the Application Compiler (MATLAB Compiler) app. See Create Standalone Application from MATLAB (MATLAB Compiler).
compiler.build.standaloneApplication (MATLAB Compiler)