I want to import MATLAB files to the LATEX document and used the following package:

\usepackage{matlab-prettifier}

\lstinputlisting[style=Matlab-editor]{my file.m}

But its not working. Is there any other alternative way of importing MATLAB m files to LATEX document?

More Shakeel Ahmed Khan's questions See All
Similar questions and discussions