This repository contains reusable workshop materials for an introductory MATLAB, Simulink, and System Composer training session.
The materials are organized as hands-on live scripts, MATLAB helper scripts, System Composer architecture examples, Simulink models, requirements artifacts, and verification assets.
System-Composer-Workshop/
|-- Materials/
| |-- SystemComposer_Workshop.pdf
| `-- matlab.pdf
| `-- simulink.pdf
|-- Matlab-Simulink/
| |-- matlab.mlx
| `-- simulink.mlx
`-- SystemComposer/
|-- SystemComposer_Workshop.prj
|-- SystemComposer_Start_Script.mlx
|-- scripts/
|-- FunctionalArchitecture/
|-- LogicalArchitecture/
|-- PhysicalArchitecture/
|-- RequirementsDefinition/
|-- ArchitectureReport/
|-- RequirementToTest/
`-- Complete/
Matlab-Simulink/matlab.mlx introduces:
- The MATLAB desktop environment
- Basic MATLAB commands
- Live scripts
- MATLAB functions
- MATLAB projects and startup/shutdown workflows
Matlab-Simulink/simulink.mlx introduces:
- Opening Simulink and using the Start Page
- Simulink Editor tabs
- Library Browser usage
- Running simulations
- Simulation Data Inspector
- Subsystems
SystemComposer/SystemComposer_Start_Script.mlx is the main live script for the System Composer portion of the workshop.
The workshop uses a quadcopter case study and follows a Requirements, Functional, Logical, Physical architecture workflow. Topics include:
- Requirements definition and import
- Requirements linking and traceability
- Functional architecture creation
- Logical architecture modeling
- Profiles, stereotypes, allocations, and interfaces
- Simulink behavior integration
- Sequence diagrams
- Physical architecture views
- Variant components
- SWAP-c style mass, cost, and power analysis
- Architecture reports and web views
- Linking test cases to requirements
Use a MATLAB installation with the products needed for the workshop materials, including:
- MATLAB
- Simulink
- System Composer
- Requirements Toolbox
- Simulink Test
- Simulink Report Generator
Some sections may require additional MathWorks products depending on the specific model or report-generation step being exercised.
-
Clone or download this repository.
-
Open MATLAB.
-
For MATLAB and Simulink fundamentals, open the live scripts in
Matlab-Simulink/. -
For the System Composer workshop, open:
openProject("SystemComposer/SystemComposer_Workshop.prj") -
When the project opens, the project startup script opens
SystemComposer_Start_Script.mlx. -
Follow the live script sections in order.
Matlab-Simulink/matlab.mlx- MATLAB fundamentalsMatlab-Simulink/simulink.mlx- Simulink fundamentalsSystemComposer/SystemComposer_Workshop.prj- System Composer projectSystemComposer/SystemComposer_Start_Script.mlx- main System Composer workshop guideSystemComposer/scripts/startup.m- project startup script
This repository includes MATLAB project metadata, live scripts, models, requirements files, and generated workshop artifacts. If you want to keep the repository lightweight, consider excluding generated or temporary folders such as:
derived/work/slprj/
Do not remove source workshop assets such as .mlx, .m, .prj, .slx, .slreqx, .sldd, .mldatx, or the provided workshop .zip files unless you are sure they are not needed.
Run the workshop in this order:
- MATLAB fundamentals
- Simulink fundamentals
- System Composer requirements definition
- Functional architecture
- Logical architecture
- Physical architecture
- Analysis and reporting
- Verification and validation
Add the appropriate license before publishing this repository publicly.