Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

to embedd matlab code in a simulink model

Status
Not open for further replies.

praseeja n v

Newbie level 1
Joined
Feb 26, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
can anyone suggest any method to embedd a matlab code in a block in simulink model?
 

There is a special block called EMBEDDED MATLAB FUNCTION. You can use it to embedd almost any part of the code and fucntions.

The only problem is that you have to use eml.extrinsic(‘FUNCTION NAME') structure in the beginning of your code to define some MATLAB functions.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top