simulink_intro

simulink_intro - Simulink: A Crash Course ChE 446 MATLAB...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Simulink: A Crash Course ChE 446
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MATLAB MATLAB is an interpreted language and  interactive environment that enables you to  input and perform computationally intensive  tasks with less (human) effort than compiled  programming languages such as C, C++, and  Fortran. 
Background image of page 2
Matlab Windows o Command Line  Interface (Main  Window) o Editor Window o Present Directory o Directory Contents or  Workspace variables o Command Line  o Command History
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Things to note: o Variables are case-sensitive (a ≠ A, for example) o Variables are SHARED between MATLAB and Simulink o Names must be unique (no variable can have the same name as  a function!) o Putting a semicolon at the end of the line prevents output:  you’ll  need this in scripts to avoid cluttering your command window o Printing  every  command in a script (no semicolon) takes 
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

simulink_intro - Simulink: A Crash Course ChE 446 MATLAB...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online