MATLAB: How to edit Latex text in MATLAB

editorformattedlatexMATLABtext;

I am publishing files that contain Latex/Tex formatted text in MATLAB. I want a Latex editor to edit this Latex text.

Best Answer

MATLAB does not ship with a tool that specifically edits Latex/Tex text. One would have to know the Latex/Tex syntax to edit the text.
There is a MATLAB Central submission that can enable you to edit Latex/Tex text without explicitly knowing the syntax. You can find this web submission at the following URL:
An example showing how to publish a document with Latex from a MATLAB file is illustrated in the following link:
Note: MathWorks does not guarantee or warrant the use or content of submissions to the MATLAB Central File Exchange. Any questions, issues, or complaints should be directed to the contributing author.