Hola zauberberg
Si deseas que no te muestren los mensajes de error tienes que colocar
warning off
al inicio de tu programa.
Saludos
Fismat
Te envio la documentacion
>> help warning
WARNING Display warning message.
WARNING('MSG') displays the text MSG like DISP except that it
can be suppressed.
WARNING OFF suppresses all subsequent warning messages.
WARNING ON displays all subsequent warning messages (without a
backtrace).
WARNING BACKTRACE is the same as WARNING ON except that the file
and line number that produced the warning is displayed.
WARNING DEBUG is the same as DBSTOP IF WARNING and triggers the
debugger when a warning is encountered.
WARNING ONCE displays Handle Graphics backwards compatibility warnings
only once per session.
WARNING ALWAYS displays Handle Graphics backwards compatibility
warnings as they are encountered (subject to the current warning
state).
S = WARNING(ARG) sets the warning state if ARG is one of the
warning states: ON, OFF, BACKTRACE or DEBUG and returns the previous
warning state in S as a string.
If ARG is a string that is not one of the warning states, then the
warning message is set to ARG and the previous warning message string
is returned in S.
[S,F] = WARNING returns the current warning state S and the current
warning frequency F as strings.
See also LASTWARN, DISP, ERROR, ERRORDLG, DBSTOP.