[MATLAB] Separated declaration and implementation in module for maintainability