\documentclass{report} 
\usepackage[top=3cm, bottom=2.5cm, left=2cm, right=2.5cm]{geometry}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{listings}
\usepackage{xepersian}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
\lstset{% general command to set parameter(s) 
basicstyle=\small, % print whole listing small
keywordstyle=\color{blue}\bfseries,
% underlined bold black keywords
identifierstyle=, % nothing happens
stringstyle=\ttfamily\color{red},
commentstyle=\color{LimeGreen}, % white comments
stringstyle=\ttfamily\color{red}, % typewriter type for strings
showstringspaces=false} % no special string spaces
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\baselineskip = .9cm
\begin{latin}
\lstinputlisting[breaklines=true,numbers=left,language=Matlab, basicstyle=\ttfamily, numberstyle=\footnotesize, numbersep=10pt, captionpos=b, frame=single, breakatwhitespace=false]{Code/adjacency_unemployment.m}
\end{latin}
\end{document}