Try to use LabVIEW, many examples is possible for free and you can obtain evaluation version of installation package for one month or buy academic with discount
Labview and Matlab both are useful for modeling in optoelectronics field. Also you can use Keithley softwares for optoelectronics modeling and measurements.
Computational Photonics : An Introduction with MATLAB by Marek S. Wartak, can provide some information about optoelectronics modelling through Matlab. Hope it would be useful.