First attempt at a matlab link.
[progcomp10.git] / src / link / MATLAB / agents / ml_angel.py
diff --git a/src/link/MATLAB/agents/ml_angel.py b/src/link/MATLAB/agents/ml_angel.py
new file mode 100644 (file)
index 0000000..a5f4b5b
--- /dev/null
@@ -0,0 +1,14 @@
+# ml_angel.py - a custom bot shell generated by bundle-agent.sh for UCC::ProgComp 2010
+# calls "/Applications/Octave/Octave.app/Contents/Resources/bin/octave -qf link/MATLAB/agents/ml_angel.m" to invoke the bot
+
+from link.externAgent import externAgent
+
+class ml_angel (externAgent):
+       def __init__ (self):
+               externAgent.__init__(self, ["/Applications/Octave/Octave.app/Contents/Resources/bin/octave", "-qf", "link/MATLAB/agents/ml_angel.m"])
+       
+       def __del__(self):
+               try:
+                       self.process.kill()
+               except:
+                       None
\ No newline at end of file

UCC git Repository :: git.ucc.asn.au