Below I make my MATLAB codes publicly available, which can be freely used for non-commercial research purposes. The usual disclaimer on any liability in connection with the use of these codes applies.
MATLAB function for matrix balancing using the Multi-Regional GRAS procedure: link
MATLAB function for matrix balancing using the Generalized RAS procedure (also called bi-proportional method): link.
MATLAB function for implementation of the following variants of the original or modified Denton's benchmarking method (link):
additive level differences
proportional level differences
additive first differences
proportional first differences
additive second differences
proportional second differences