#!/usr/bin/bash
matlab -batch '%' <<EOF
disp("running")
m=load("$1");
[r,p]=corr(m,'Type','Spearman')
disp(r)
disp(p)
EOF
