"Uwe Brauer" wrote in message <firstname.lastname@example.org>... [snip] > publish generates a LaTeX file, while I am talking of displaying LaTeX formula in the editor as png.
This is not entirely correct. If you publish to an HTML webpage, for example, then the LaTeX formula is saved as a PNG image file.
However, if your point is that you want to embed LaTeX rendering for *display in* (as opposed to *generation by*) the Matlab Editor, then this is not possible (AFAIK). The Matlab Editor can only display text in documents (tabs) that display file contents.