Converting Matlab code and graphs into Latex

2 views (last 30 days)
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.

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.

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!