问题
I want to convert mathematical expressions from a string in LaTeX format to their neat form. My initial solution was using another program to convert string to image and loading the image in gui. Is there such program or Matlab function (that gets a latex string as input and creates an image that can be loaded in Matlab)? or is there any better way?
回答1:
look at text command and it's 'Interpreter'
property - it can be set to 'Latex'
and provide you with the functionality you want. (see last example in the doc).
来源:https://stackoverflow.com/questions/16271543/how-to-render-expressions-in-matlab-gui