lecturenotes11_5

lecturenotes11_5 - Simulink and Matlab Functions October...

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

View Full Document Right Arrow Icon
Simulink and Matlab Functions October 29 , 2007
Background image of page 1

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

View Full DocumentRight Arrow Icon
Why Matlab in Simulink? Often, the problem we want to solve is not clearly  one type of model or the other (Matlab/Simulink) We may have  existing code we want to reuse a particular routine that is not easily implementable in  Simulink In these cases we can use the functionality of matlab  within our Simulink model…
Background image of page 2
How to do this? There are two primary methods (of  interest to us) for implementing such a  scheme; 1. The “Fcn” block 2. The “Embedded Matlab Function” block We will consider each of those today…
Background image of page 3

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

View Full DocumentRight Arrow Icon
The Simulink “fcn” block This block allows you to enter your own  “function”  into the simulink model.  Limitations – it is really an equation, not a  fully useable function Located in the user-defined functions  library
Background image of page 4
Editing the fcn block:
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/25/2009 for the course BEE 1510 taught by Professor Staff during the Fall '05 term at Cornell.

Page1 / 15

lecturenotes11_5 - Simulink and Matlab Functions October...

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

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