I have used Matlab prettifier
package with \lstinputlistings{file.m}
command but its not working. Is there another way to import your MATLAB Code to the LATEX?
Asked
Active
Viewed 529 times
0

4b0
- 21,981
- 30
- 95
- 142

Shakeel Khan
- 11
- 2
-
2What do you mean by not working? Do you get errors, or is the code not highlighted correctly? – Tik0 May 13 '18 at 08:46
-
Not working means these commands are not giving required results. I tried to import my matlab files into my LATEX document using commands mentioned in my question but LATEX is pointing out some error so I am not able to import my script files to the LATEX document and looking forward for some alternative way. – Shakeel Khan May 13 '18 at 17:09