"Getting Started with Simulink for SPC" example files

Example Simulink models for the solar sunny vs cloudy example
1.5K Downloads
Updated 10 Apr 2020

Explore the models created in the "Getting Started with Simulink for SPC" video.

https://www.mathworks.com/videos/getting-started-with-simulink-for-signal-processing-1586429627003.html

model1_oneDay.slx - Model analyzing one day of power generation.
model2_filters.slx - Model filtering and displaying the power data.
model3_algorithm.slx - Model of the algorithm showing the sunny vs non-sunny classification.
model4_CcodeGeneration.slx - Model that can be used to generate C code.
model5_HDL.slx - Extra model that has been modified from the previous model to generate HDL code.
SolarArrayData.mat - Data file containing the power data for over 957 days, an example cloudy and sunny day, time and sampling frequency.

All models were created and saved in R2020a. If you are using an earlier release, do the following before opening any models:

(1) Click Preferences in the Home tab of the MATLAB toolstrip.
(2) In the Preferences dialog, select the Simulink pane and then click Open Simulink Preferences.
(3) In the Simulink Preferences dialog, select the Model File pane.
(4) Clear the "Do not load models created with a newer version of Simulink" option.

Cite As

Radu David (2024). "Getting Started with Simulink for SPC" example files (https://github.com/mathworks/getting-started-with-simulink-for-spc), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with R2019b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
20.1.2

Added link to Getting Started with Simulink for SPC video.

20.1.1

Added instructions to open in earlier releases.

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.