Skip to content
Egon Geerardyn edited this page Jun 17, 2015 · 5 revisions

This page documents some common problems and pit-falls that can occur both when using matlab2tikz or when you are changing its source code.

  • TeX capacity exceeded has its own page.
  • Boxplots exported from R2014a and below may fail to compile in LaTeX with a dimension too large error. There is a specific work-around available on the FileExchange in case cleanfigure doesn't cut it.
  • Images look blurry when exported to PNG. This is a known feature of many PDF viewers (e.g. see StackOverflow). Some viewers (e.g. Apple Preview) allow to switch this off in the settings.
  • pgfplots 1.12 is known to have some incompatibilities with the LuaLaTeX compiler. Those bugs are fixed in pgfplots 1.12.1 (included from TeX Live 2015 onwards).
  • pgfplots and the signalflow package are incompatible. A work-around exists that you can load into your LaTeX document:
\usepackage{pgfplots}
\let\OLD=\pgfnodeparttextbox
\usepackage{signalflowdiagram}
\let\pgfnodeparttextbox=\OLD