1function pdfFile = exportTikZ(self, filePath)
2% EXPORTTIKZ Export network diagram to PDF file
4% PDFFILE = EXPORTTIKZ(FILEPATH) compiles the TikZ code and saves
5% the resulting PDF. Returns the File
object of the exported PDF.
7% Requires pdflatex to be installed.
10% pdfFile = model.exportTikZ(
'network');
12% Copyright (c) 2012-2026, Imperial College London
15% Convert MATLAB model to Java Network
16jnetwork = JLINE.line_to_jline(self);
18pdfFile = jnetwork.exportTikZ(filePath);