MATLAB: How to generate m-sequence in matlab

MATLAB

in mathworks there is some code for generation of m- sequence.but it is very lenthy.is there any simple command to generate m-sequence.
Related Question