Call python tree-partition in Matlab