# Externalize TikZ with TeXstudio and MikTeX [closed]

I have the same problem as written here before, but the externalization doesn't work. I always get the following message:

tikz: Sorry, the system call 'pdflatex -halt-on-error -interact

I try to input some simulation result from Matlab via matlab2tikz. If I run my .tex file without externalization it works just fine, but if I write

\tikzexternalize[prefix=tikzfig/]

it does not work any more.

Here is a part of my header:

\usepackage{pgfplots}
\pgfplotsset{plot coordinates/math parser=false}
\usepackage{tikz}
\usepackage{tikzscale}
\usepgfplotslibrary{external}
\tikzexternalize[prefix=tikzfig/]

I also saw the answer here, but it still doesn't work.

I am using Miktex and Texstudio. I am also compiling via dvips since I am using psfrag. The compile command is:

pdflatex -shell-escape name

where name is just the file name without file extension, here .tex.

## closed as unclear what you're asking by Paul Gessler, Jesse, Przemysław Scherwentke, ChrisS, user31729 Jan 15 '15 at 4:44

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Why don't you use the standalone class for this? – SLx64 May 24 '14 at 10:57