function p = pathsep
%PATHSEP Path separator for this platform.
%   F = PATHSEP returns the path separator character for this platform.
%   The path separator is the character that separates directories in
%   the MATLABPATH variable.
%
%   See also PATH, FILESEP, FULLFILE.

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

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