Automated export parameter to MATLAB