If the MATLAB® Compiler™ product is installed on your system, you can compile your DOM and Report API generation programs. Then, you can share the compiled programs with others who do not have a licensed copy of MATLAB.
To enable execution of your compiled 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); rptview(d);
To enable execution of a compiled MATLAB API for PowerPoint® (PPT API) program, use