I'm writing an application where users can plug in their own matlab code via a Mathscript "wrapper".  I need a way of timing out the matlab in case the user creates an infinite loop.
 
	Does anyone know if mathscript provides a native timeout (google didn't find anything when searching "mathscript timeout").
 
	If not, does anyone have any good (hopefully simple) suggestions?
 
	Thanks!