@Ragheb: We also have some information on how to tackle your problem in our wiki at https://github.com/matlab2tikz/matlab2tikz/wiki/TeX-capacity-exceeded,-sorry
Comment only
04 Dec 2014
matlab2tikz/matlab2tikz
A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX.
Hi Ragheb,
To increase memory when using large PGF or TIKZ figures, for MikTEx use the command line:
initexmf --edit-config-file=latex
opens an editor where you can put the new values. E.g.
main_memory=5000000
extra_mem_bot=5000000
font_mem_size=5000000
pool_size=5000000
buf_size=5000000
Afterwards call the next for updating the latex format files.
initexmf --dump=latex
FOr PDFlatex, replace in both cases latex with pdflatex
Hi there,
what is wrong with this example:
G = [ 0 1 2;
1 0 0;
2 0 0 ]
dijkstra(G,2,3);
result: [3 2 2]
Can you help me?
PS: I see that Gautam Marwaha had the same problem. :(
Comment only
03 Dec 2014
matlab2tikz/matlab2tikz
A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX.
Why Latex doesn't compile large tikz files?
I have tried matlab2tikz on a three dimensional sphere figure from matlab and it works perfectly because the corresponding tikz file is only 50KB. However, the figures I want to include in the tex file often exceed 100MB! Latex refuses to compile such files giving me the error :" TeX capacity exceeded, sorry [main memory size=5000000]".
Can you please advise me how to solve that problem?
Comment only
07 Nov 2014
matlab2tikz/matlab2tikz
A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX.
Comment only