When I try to post Matlab code, there are some formatting problems.
For example, an apostrophe is used in Matlab to transpose a matrix. But when this is posted, it is interpreted as the beginning of a string, and the rest of the code turns red.
Also, comments in Matlab begin with the percentage sign. Words after this sign turn blue.
Is there a way to avoid these problems?