The plotting code is:
%run PVarray to get built-in model voltage and current value
currentPV = out.current.signals.values;
voltagePV = out.voltage.signals.values;
figure (1)
plot(voltagePV,currentPV);
grid on;
axis([0 50 0 11]);
Cite As
Yechen Zhu (2026). PV array in Simulink (https://www.mathworks.com/matlabcentral/fileexchange/99769-pv-array-in-simulink), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |