#!/usr/bin/env octave-q

error(nargchk(5,5,nargin));

## get and format args

args=argv();

startTime=args{1};
stopTime=args{2};
parameterFile=args{3};
frameCacheFile=args{4};
resultsDirectory=args{5};

## create command string

command=sprintf("bccpipeline(%s,%s,\"%s\",\"%s\",\"%s\");",startTime,stopTime,parameterFile,frameCacheFile,resultsDirectory);

## run command and exit

eval(command);

quit;
