export coefficients Bs and As from MATLAB