\documentclass[preview]{standalone}
\usepackage{graphicx}
\begin{document}
\begin{figure}
 \input{myDistMatrix}
\end{figure}
\end{document}
