u should use of matlab for modelling of pv or diesel ganarators that u want make specially but u can use of Psim software for analyzing the results like a experimental results.
I think matlab is useful if you have gotten a model. In this case a model is lacking and i wish to use existing software tools without worrying about building a new model. Thanks.
HOMER can also be used for this type of applications..and it is available free of cost..and yes, if you are good in programming then MATLAB is the best option