I found a workaround. Hopefully someone will come here and find a better option. I wrapped the dcm2angle function in another function that combines the output. Basically this:
function [out] = Mydcm2angle( T, sequence )
[out(1), out(2), out(3)] = dcm2angle(T, sequence);
end
Then the output can be used as:
result = Mydcm2angle(t, 'XYZ') * 180 / pi;