Add more latex packages for latex interpreter in Matlab

30 views (last 30 days)
Hi,
is it possible to include the "amssymb" package for the latex interpreter. I want to use the $\square$ latexcommand in a plot legend. All solutions with modify matlabsystemfiles like tex.m does not work. I use Matlab 2017a.
Thanks for a solution

Answers (1)

Karan Gill
Karan Gill on 22 Nov 2017
Edited: Walter Roberson on 22 Nov 2017
  1 Comment
Walter Roberson
Walter Roberson on 22 Nov 2017
Unfortunately, somewhere around R2016b or so, MATLAB changed how latex is processed. The text control files that could be edited before are now binary with undocumented format. It is currently not known how to add packages. (Though the pdflatex approach potentially still works; I am not familiar with that.)

Sign in to comment.

Categories

Find more on Environment and Settings 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!