MATLAB: How to highlight some lines in the mfile

highlight lines in mfile

Is there any way to highlight lines or make some lines in different colors ?

Best Answer

No. But possibly you might be interested in using the publish feature, especially if you included some HTML markup that inserted elements in a different color. Or perhaps just using "*TEXT*" to highlight the given text in the published document.