People are confused when they copy and paste sections that show the output of whos and disp(xxx) etc. Those are not proper code blocks, but also show the output that they would get in the MATLAB command window. I think it would be good to mark those sections more explicitly as non-code blocks, in all online material.