More work on matlab server interface.