Hi borzack,
As you commented, this is likely caused by that MATLAB cannot find my_board.my_ref_design.callback_CustomizeReferenceDesign on MATLAB search path. rehash toolbox will refresh MATLAB search path and fix this issue.
Your syntax on the callback function specification is correct.
Thanks,
Wang