% -----------------------------------------------------------------------------
% RunSimSect.m
% -----------------------------------------------------------------------------
%
%  This function runs a SimSect hexapod simulation with the supplied arguments. 
%
% -----------------------------------------------------------------------------
%
%  function [s,w] = RunSimSect( args );
%
% -----------------------------------------------------------------------------
%  Input Arguments:
%    
%    args : String to be appended at the end of the executable name.
%           Specifically, '-c filename.rc' should be used to pass the 
%           name of the RC file previously created with CreateRCFile.m.
%
% -----------------------------------------------------------------------------
%  Outputs :
%
%    s : exit status (integer)
%    w : output of the bslip executable during execution (string)
%
% -----------------------------------------------------------------------------
%  Notes :
%
%   This script requires the UNIX executable "SimSect" to be in the path
%
% -----------------------------------------------------------------------------
% $Id: RunSimSect.m,v 1.1.1.1 2003/10/28 20:05:59 ulucs Exp $
% -----------------------------------------------------------------------------

function [s,w] = RunSimSect( args );

[s, w] = unix( strcat( 'SimSect ', args ) );