MATLAB Answers


Converting Matlab code and graphs into Latex

Asked by Muhammad Ramzan on 23 Sep 2018
Latest activity Commented on by Muhammad Ramzan on 24 Sep 2018
Hello, I want to convert publish my matlab code using Latex. I am tying to use the publish option but it is publishing the code and output using the publish option in matlab but the resultant file in latex is all black color not as it is in Matlab.


Sign in to comment.

1 Answer

Answer by Mischa Kim
on 24 Sep 2018

Hi Muhammad, there are a couple of packages on File Exchange, e.g. this on.

  1 Comment

thanks Mischa Kim , I have tried this method but it is publishing the Matlab code where as i want to have my code and its output both. thanks

Sign in to comment.