Opinion simulink

2 views (last 30 days)
Nuno
Nuno on 16 Mar 2011
Hi people... I need contruct the this circuit: http://img827.imageshack.us/img827/9840/fig1.png
I wonder know what type of block used to build Isc, Tref, etc? In this blocks i need make calculations... what kind of block advise me?

Answers (3)

Kaustubha Govind
Kaustubha Govind on 16 Mar 2011
It's difficult to say without knowing what kind of calculations, but these are the general options available:
  1. Create a subsystem consisting of Simulink blocks (if your functionality can be achieved with library blocks)
  2. MATLAB Fcn block - doesn't support code generation
  3. Embedded MATLAB Fcn block
  4. S-Functions

Nuno
Nuno on 16 Mar 2011
I thought these assumptions but had difficulties in implementing all ... Embedded MATLAB Fcn block seems the best option... The code is used is in matlab?
  1 Comment
Kaustubha Govind
Kaustubha Govind on 18 Mar 2011
Yes, but note that Embedded MATLAB only supports a subset of MATLAB functionality: http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z5-1.html

Sign in to comment.


Guy Rouleau
Guy Rouleau on 18 Mar 2011
In your image, lsc and Tref and sources, very likely Constant blocks!
When you create a simulation, you need to know that number you want to put in.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!