function f = filesep
%FILESEP Directory separator for this platform. 
%   F = FILESEP returns the file separator character for this platform.
%   The file separator is the character that separates directory 
%   names in filenames.
%
%   See also PATHSEP, FULLFILE.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.6 $  $Date: 1997/11/21 23:35:14 $

c = computer;
if isunix,
  f = '/';
elseif isvms
  f = '.';
elseif strcmp(c(1:2),'PC')
   f = '\';
elseif strcmp(c(1:2),'MA')
   f = ':';
else
   error('Unknown platform.');
end
