

\documentclass{article}
\usepackage{booktabs} % toprule bottomrule middlerule
\usepackage{listings} % import scilab and latex code to build a comprehensive demo
\usepackage{color}

\begin{document}
This is an example of what can be done with the m2tabular function, that exports Scilab matrixes to \LaTeX. 
I also provide some functions that make it easier to build hybrid (text/numbers) matrices in Scilab.

In the next table note the lines heading justified on the left:
\begin{table}[h]
    \centering
		\input{one.tex}
		\caption{This table was saved in the current directory}
\end{table}

Here there are no headings for lines:
\begin{table}[h]
    \centering
		\input{table/two.tex}
		\caption{This one is from the 'table' subdirectory}
\end{table}

For beautiful tables I used the \verb$booktabs$ package.

Feel free to use/modify all the code provided here.

\end{document}