\documentclass{article}

\usepackage{tikz}               % makes the scalebar
\usepackage[ansinew]{inputenc}  % so i can write my name without contortions
\usepackage{siunitx}            % typographically correct units
\usepackage{hyperref}           % links in pdf

\newlength\imagewidth           % needed for scalebars
\newlength\imagescale           % ditto

\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\author{David Haberthür}
\title{David Haberthür's Head - Scalebar}
\date{\today}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{figure}[h]
	\centering
    %%%
    COPY MATLAB-STUFF HERE
    %%%
	\caption{Three dimensional visualization of David Haberthürs Head, released under a \href{http://creativecommons.org/licenses/by/2.0/deed.en_GB}{creative commons Attribution 2.0 Generic license} by the owner of the head.}
	\label{fig:head}
\end{figure}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}