function substract input Definition d1; input Definition d2; output Definition result " = d1 - d2"; end substract;