The main result is a very general solution formula for the noncommutative AKNS system, extending work by Bauhardt and P¨oppe. As anapplication, we construct for the matrix sine-Gordon equation N-soliton solutions analogous to the multisoliton solutions for the KdV equation due toGoncharenko.