You also check this MathWorks Script -https://www.mathworks.com/matlabcentral/fileexchange/83878-raman-fiber-laser-master-script-main-one. This a good starting point, however it requires all other functions for the script to function properly.
You can also check a similar project on : MATLAB Simulink modelling of Raman hybrid amplification for long-distance hut-skipped undersea optical fiber transmission systems.
It's very likely that the codes are available on the site. Otherwise, you send a request to the author. The link is: