MATLAB: Is there a way to access the underlying model/script of a Simulink/Simscape component

photovoltaicpower systemspv arraySimscapeSimscape Electricalsimulink

In particular, I am looking at Simscape Power Systems: PV array. It has this function to plot I-V curves for different values of irradiance and temperature in its configuration parameters, and I want to figure out what formulae they use to plot these curves. I have been trying to replicate their results for awhile now, and my results differ slightly from what they have. The formulae listed in the documentation are not sufficient.
If anyone has any insight on this, your help would be greatly appreciated. Thanks!

Best Answer

Unfortunately the function plotting the I-V curve is compiled, which means that you cannot access its source code. There is no way to display the formula used to calculate the curve.
Related Question