Lesson 3 - File IO - SIMULINK

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

by Dr Lam A.

Cheah

Topic 2 – SIMULINK
Lesson 3 – File I/O

1
Outline
 Introduction
 SIMULINK Environment
 SIMULINK Basics
 File I/O
 Useful Features
 Combining SIMULINK with MATLAB
 Embedded Algorithms
 Data-driven Modelling

2
Outline
 Introduction
 SIMULINK Environment
 SIMULINK Basics
 File I/O
 Useful Features
 Combining SIMULINK with MATLAB
 Embedded Algorithms
 Data-driven Modelling

3
Example: File I/O
Not suitable for varying signal

4
Example: File I/O
Not suitable for varying signal

saved data into workspace and


plot i.e. plot(tout,simout)

5
File I/O: Sources aka ‘Inputs’

Various forms of input sources


e.g. built-in blocks, workspace
or external files

6
File I/O: Sinks aka ‘Outputs’

Various forms of output visualisation


approaches e.g. built-in blocks, to
workspace or file

7
Outline
 Introduction
 SIMULINK Environment
 SIMULINK Basics
 File I/O
 Useful Features
 Combining SIMULINK with MATLAB
 Embedded Algorithms
 Data-driven Modelling

8
Comments/Labels

9
Align and Distribute Blocks

10
Flip Blocks

11
Hide Names

12

You might also like