Christoph Hahn
Dr. Joachim Schlosser
2
Outline
3
What are MATLAB & Simulink?
5
What is the Freescale Cup?
6
MathWorks Core Products
Numeric Computation
Data Analysis & Visualization
Programming & Algorithm Development
Application Development & Deployment
Dynamic Simulation
Multi-Domain Modeling
Real-Time Testing
Automatic Code Generation
7
MathWorks Learning Hardware Solutions
mathworks.com/hardware-support/ 8
MATLAB Example
(from MathWorks Lego Robot Competition)
9
Simulink Example
11
Automatic Code Generation
Embedded Digital
Software Electronics
• C/C++, VHDL and PLC-Code Generation
from one model C, C++ VHDL, Verilog
13
Supporting Freescale Cup Teams
14
Complimentary Software
15
Complimentary Software from the MathWorks
• MATLAB • SimDriveline
• Simulink • SimElectronics
• Stateflow • SimMechanics
• Control System Toolbox • SimPowerSystems
• DSP System Toolbox • Simscape
• Embedded Coder • Simulink Coder
• Filter Design HDL Coder • Simulink Control Design
• Fixed-Point Designer • Simulink Design Optimization
• Global Optimization Toolbox • Simulink Design Verifier
• MATLAB Coder • HDL Coder
• Neural Network Toolbox • Simulink PLC Coder
• Optimization Toolbox • Simulink Verification and Validation
• Signal Processing Toolbox
16
Complimentary Learning Resources & Support
17
Getting Started Page
mathworks.com/academia/getting-started.html
freescalecup@mathworks.com
mathworks.com/academia/ 18
Learning Resources: Interactive Video Tutorials
Self-guided tutorials
provided by MathWorks.
– MATLAB
– Simulink
– Signal Processing
– Control Systems
– Computational Mathematics
mathworks.com/academia/student_center/tutorials 19
Getting started and help on MATLAB and Simulink
21
Embedded Coder Support Package
for Freescale FRDM-KL25Z Board
22
Demo – Getting Started
Blink an LED
Create a New Model
Set it up for the Freescale Target
Add Blocks
Generate code
Deploy to the hardware
23
Freescale Cup Blocks
24
Demo – Simulation to Deployment
25
What about the code I have already written?
26
Do you speak MATLAB?
27
For student teams
28
Professors and Teachers
29