Print a message to stderr. By default this is a nice red color in the matlab window.
0001 function print_error( string ) 0002 % Print a message to stderr. By default this is a nice red 0003 % color in the matlab window. 0004 stderr=2; 0005 fprintf(stderr,strcat(string,'\n')); 0006 0007 end 0008