LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
exportTikZToFile.m
1function exportTikZToFile(self, filePath)
2% EXPORTTIKZTOFILE Save TikZ/LaTeX source code to a file
3%
4% EXPORTTIKZTOFILE(FILEPATH) saves the raw TikZ code without compilation,
5% useful for manual editing or integration into other LaTeX documents.
6%
7% Example:
8% model.exportTikZToFile('network.tex')
9%
10% Copyright (c) 2012-2026, Imperial College London
11% All rights reserved.
12
13% Convert MATLAB model to Java Network
14jnetwork = JLINE.line_to_jline(self);
15
16jnetwork.exportTikZToFile(filePath);
17end