MATLAB Answers

Converting Matlab code and graphs into Latex

24 views (last 30 days)
Muhammad Ramzan
Muhammad Ramzan on 23 Sep 2018
Commented: 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.

  0 Comments

Sign in to comment.

Answers (1)

Mischa Kim
Mischa Kim on 24 Sep 2018
Hi Muhammad, there are a couple of packages on File Exchange, e.g. this on.

  1 Comment

Muhammad Ramzan
Muhammad Ramzan on 24 Sep 2018
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.

Sign in to answer this question.