Question
How to use document Export function from MATLAB
I am manipulating an InDesign docment from MATLAB:
a = actxserver('InDesign.Application');
doc = a.Open('C:\TEMP\Test-3.indd');
% make changes then export
I've tried different ways to export (example below), but none of them work, because I can't find a way to specify the export format.
b = doc.Export('InDesign.idExportFormat.idInteractivePDF', 'C:\TEMP\Test-2.pdf', false)
Any ideas would be appreciated.
