No BSD License  

Highlights from
aide mémoire Matlab (seconde édition)

from aide mémoire Matlab (seconde édition) by Jean-Thierry
les m-fichiers de l'aide mémore Matlab seconde édition

ex_exceptions.m
try
  n=input('nom de fichier svp : ','s');
  f= fopen(n,'r');
  a=fread(f);
  fprintf('votre fichier existe bien\n');
  fclose(f);
catch
  fprintf('Votre fichier << %s >> n''existe pas\n', n);
  fprintf('%s\n',lasterr);
end;
fprintf('bye\n');

Contact us at files@mathworks.com