\begin{appendix}
附录在这里，这里可以放一些代码或者其它内容。
\begin{lstlisting}[caption=代码抄录示例,language=Matlab,label=code:exm2]
function s = f(x)
% This Program gives the area of a circle.
% S = F(x)
    pi = 3.14;
    
    s = pi*x^2;
end
\end{lstlisting}

\end{appendix}