As well as being more flexible, sprintf is also much faster than disp when joining strings together like you have shown.
for writing to the command window I normally use fprintf. This also allows you to write your own error/warning/information messages:
fprintf ( 2, 'my error(warning) message in RED!\n' );
The number 2 signifies that you want to write to the command window in red font.