function execute(command)
%EXECUTE	execute(command)
%	Execute a system command.
%	This function generates the temporary file _command_.sh
%
%	Example:
%	i=5;
%	execute(sprintf('echo i=%d',i));

fid=fopen('_command_.sh','w');
fprintf(fid,'%s\n',command);
fclose(fid);
!sh _command_.sh
!rm -f _command_.sh

