You can model every component using the governing equations and integrate them Also, new versions of Matlab contain the wind turbine and battery models.
Thanks for your contributions. I actually use 2014 model. The reason it/they are not there is because it is a student version which does have simElectronics
The solar cell or solar array can be modeled in MatLab either in m-file or in Simulink using the well know of solar cell model for one or two diodes,
Also, the same for Wind turbine system; there is a mechanical model and electrical model for wind turbine available on network including all the design parameters.